From 11d200f60bcc50954198c925964b7a6a5db98de9 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Wed, 12 Jun 2024 13:25:51 +0200 Subject: [PATCH] more sway stuff --- modules/desktop-environment/home/sway/default.nix | 10 ++++++++++ modules/desktop/x.nix | 5 +++-- 2 files changed, 13 insertions(+), 2 deletions(-) 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"; }