diff --git a/sway.mod.nix b/sway.mod.nix index 24e7b91..47124f3 100644 --- a/sway.mod.nix +++ b/sway.mod.nix @@ -40,13 +40,13 @@ style = "monospace"; size = 8.0; }; - terminal = "$\{pkgs.terminator}/bin/terminator"; + terminal = "terminator"; keybindings = let mod = config.wayland.windowManager.sway.config.modifier; term = config.wayland.windowManager.sway.config.terminal; - rofi = "$\{pkgs.rofi-wayland}/bin/rofi"; + rofi = "rofi"; in { "${mod}+Return" = "exec ${term}"; # opens a terminal window @@ -56,7 +56,7 @@ "${mod}+Tab" = "exec --no-startup-id ${rofi} -show window"; # "${mod}+p" = ''mode "resize"''; - "${mod}+o" = "exec \${pkgs.swaylock}/bin/swaylock"; # locks the session, requiring password to unlock. + "${mod}+o" = "exec swaylock"; # locks the session, requiring password to unlock. ### move focus "${mod}+Left" = "focus left"; @@ -85,7 +85,7 @@ "${mod}+a" = "focus parent"; "${mod}+Shift+a" = "focus child"; - "${mod}+Shift+c" = "reload"; # config hot-reload, probably gonna be useless cause we're on nixOS, though. + "${mod}+Shift+d" = "reload"; ### moves user around "${mod}+1" = "workspace number 1";