From d9893d656159e538cad62ef6f344f949bc0e9354 Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 2 May 2025 11:01:07 +0200 Subject: add xdg-utils, change keybindings --- modules/sway.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/sway.nix b/modules/sway.nix index 314eb14..c8dd008 100644 --- a/modules/sway.nix +++ b/modules/sway.nix @@ -2,6 +2,7 @@ let cfg = config.sway; + mod = config.wayland.windowManager.sway.config.modifier; in { options.sway.enable = lib.mkEnableOption "Enable sway and setup"; config = lib.mkIf cfg.enable { @@ -9,6 +10,7 @@ in { wmenu swaybg wl-clipboard + xdg-utils playerctl ]; @@ -48,6 +50,7 @@ in { }; modifier = "Mod4"; keybindings = lib.mkOptionDefault { + "${mod}+q" = "kill"; "XF86AudioPlay" = "exec playerctl play-pause"; "XF86AudioPrev" = "exec playerctl previous"; "XF86AudioNext" = "exec playerctl next"; -- cgit v1.3.1