Sway phase 1
This commit is contained in:
parent
780ffcaeb8
commit
63a33662ef
3 changed files with 32 additions and 6 deletions
24
home-manager/modules/programs/sway.nix
Normal file
24
home-manager/modules/programs/sway.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs',
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
inputs'.nixpkgs-unstable.legacyPackages.xwayland-satellite
|
||||
];
|
||||
wayland.windowManger.sway = {
|
||||
enable = true;
|
||||
package = null;
|
||||
sway = {
|
||||
xwayland = false;
|
||||
config = {
|
||||
modifer = "Mod4";
|
||||
startup = [
|
||||
{command = "env DISPLAY=:0 xwayland-satellite";}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue