feat: add screenshot keybinds

This commit is contained in:
buffet 2024-04-15 20:34:06 +02:00
parent 71c989feca
commit 326c49f6bc

View file

@ -23,7 +23,6 @@ in {
seat."*" = {hide_cursor = "when-typing enable";};
floating.modifier = mod;
# TODO: screenshot keybinds
keybindings = let
makeWorkspaceBinds = num: let
ws = toString num;
@ -40,6 +39,9 @@ in {
"${mod}+Shift+y" = "exec swaylock";
"${mod}+d" = "exec ${pkgs.fuzzel}/bin/fuzzel"; # TODO: config
"${mod}+p" = "exec ${pkgs.unstable.sway-contrib.grimshot}/bin/grimshot copy window";
"${mod}+Shift+p" = "exec ${pkgs.unstable.sway-contrib.grimshot}/bin/grimshot copy output";
"${mod}+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 1%-";
"${mod}+x" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +1%";
"${mod}+Shift+z" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";