diff --git a/modules/desktop-environment/home/sway/default.nix b/modules/desktop-environment/home/sway/default.nix index d7f849e..0aafe8e 100644 --- a/modules/desktop-environment/home/sway/default.nix +++ b/modules/desktop-environment/home/sway/default.nix @@ -5,8 +5,17 @@ ... }: { programs.wofi.enable = true; + programs.swaylock.enable = true; + wayland.windowManager.sway = { enable = true; + systemd = { + enable = true; + }; + wrapperFeatures = { + base = true; + gtk = true; + }; config = { modes = { resize = { @@ -22,6 +31,7 @@ l = "resize grow width 10 px"; }; }; + terminal = "kitty"; output = { "*" = { bg = "${../xmonad/wallpaper/wallpaper.jpg} fill"; diff --git a/modules/desktop/x.nix b/modules/desktop/x.nix index 1bd4586..8ea697b 100644 --- a/modules/desktop/x.nix +++ b/modules/desktop/x.nix @@ -20,7 +20,8 @@ }; security.polkit.enable = true; - programs.sway.enable = true; + # programs.sway.enable = true; - services.displayManager.defaultSession = "none+xmonad"; + # services.displayManager.defaultSession = "none+xmonad"; + services.displayManager.defaultSession = "sway"; }