diff --git a/users/buffet/sway.nix b/users/buffet/sway.nix index b9f7467..6590e75 100644 --- a/users/buffet/sway.nix +++ b/users/buffet/sway.nix @@ -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%-";