diff --git a/home/sway.nix b/home/sway.nix index d21d1ec..60a7322 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -15,6 +15,7 @@ swaysw = inputs.swaysw.packages.${system}.swaysw; zapzap = pkgs.callPackage ../packages/zapzap/default.nix {}; viber = pkgs.callPackage ../packages/viber/default.nix {}; + term = "${pkgs.foot}/bin/footclient"; in { wayland.windowManager.sway = { enable = true; @@ -76,7 +77,7 @@ in { keybindings = { "Alt+Shift+q" = "kill"; - "Alt+Shift+Return" = "exec ${pkgs.foot}/bin/footclient"; + "Alt+Shift+Return" = "exec ${term}"; "Alt+p" = "exec ${pkgs.dmenu-wayland}/bin/dmenu-wl_run -fn \"mono 14\""; "Alt+c" = "exec ${pkgs.moreutils}/bin/lckdo cliphist_sway ${cliphist_sway}/bin/cliphist_sway"; @@ -118,11 +119,11 @@ in { "Alt+f" = "fullscreen enable"; "Mod4+l" = '' - exec ${pkgs.sway}/bin/swaymsg [app_id="python3"] scratchpad show || exec ${pkgs.foot}/bin/footclient -a python3 ${pkgs.python3}/bin/python3''; + exec ${pkgs.sway}/bin/swaymsg [app_id="python3"] scratchpad show || exec ${term} -a python3 ${pkgs.python3}/bin/python3''; "Mod4+h" = "exec ${pkgs.sway}/bin/swaymsg [app_id=com.rtosta.zapzap] scratchpad show || exec ${zapzap}/bin/zapzap"; "Mod4+j" = "exec ${pkgs.sway}/bin/swaymsg [app_id=com.viber] scratchpad show || exec ${viber}/bin/viber"; "Mod4+y" = '' - exec ${pkgs.sway}/bin/swaymsg [app_id="pulsemixer"] scratchpad show || exec ${pkgs.foot}/bin/footclient -a pulsemixer ${pkgs.pulsemixer}/bin/pulsemixer''; + exec ${pkgs.sway}/bin/swaymsg [app_id="pulsemixer"] scratchpad show || exec ${term} -a pulsemixer ${pkgs.pulsemixer}/bin/pulsemixer''; }; }; };