commit f5a992420e2592a6ebb9179c598c20d4b95b13b7
parent dbc544348f7c7f3049a10f4bdbf428fede23c4fd
Author: Leah (ctucx) <git@ctu.cx>
Date: Sun, 6 Oct 2024 19:34:47 +0200
parent dbc544348f7c7f3049a10f4bdbf428fede23c4fd
Author: Leah (ctucx) <git@ctu.cx>
Date: Sun, 6 Oct 2024 19:34:47 +0200
configurations/linux/programs/sway: update some keybindings
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/configurations/linux/programs/sway.nix b/configurations/linux/programs/sway.nix @@ -154,10 +154,10 @@ in { "${modifier}+Tab" = "exec ${pkgs.rofi-wayland}/bin/rofi -show wifi -modi 'wifi:${pkgs.rofi-iwd-wifi-menu}/bin/iwdrofimenu'"; - "Shift+Print" = "exec ${pkgs.grim}/bin/grim ~/Pictures/Screenshots/$(date +\"%Y-%m-%d_%H:%m:%S\").png"; - "${modifier}+Shift+Print" = "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" ~/Pictures/Screenshots/$(date +\"%Y-%m-%d_%H:%m:%S\").png"; - "Print" = "exec ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png"; - "${modifier}+Print" = "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png"; + "${modifier}+Control+Print" = "exec ${pkgs.grim}/bin/grim ~/Pictures/Screenshots/$(date +\"%Y-%m-%d_%H:%m:%S\").png"; + "${modifier}+Control+Shift+Print" = "exec ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png"; + "${modifier}+Print" = "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" ~/Pictures/Screenshots/$(date +\"%Y-%m-%d_%H:%m:%S\").png"; + "${modifier}+Shift+Print" = "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp)\" - | ${pkgs.wl-clipboard}/bin/wl-copy -t image/png"; "XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s +5%"; "XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl s 5%-"; @@ -173,8 +173,7 @@ in { "${modifier}+Shift+e" = "exec swaynag -t warning -m 'Do you really want to exit sway?' -b 'Yep' 'swaymsg exit'"; - "${modifier}+Shift+q" = "kill"; - "Alt+F4" = "kill"; + "${modifier}+q" = "kill"; "${modifier}+Shift+c" = "reload";