Skip to content

Commit

Permalink
home (sway): Bind taking screenshots to x key
Browse files Browse the repository at this point in the history
mod+s was clashing with switching to window stacking mode.
  • Loading branch information
britter committed Dec 10, 2024
1 parent afdc6ed commit a6c0c45
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions home/desktop/sway/sway.nix
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ in {
"${mod}+q" = "kill";

# screenshot capturing
"${mod}+s" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} savecopy output";
"${mod}+Shift+s" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} savecopy window";
"${mod}+Ctrl+s" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} savecopy area";
"${mod}+x" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} savecopy output";
"${mod}+Shift+x" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} savecopy window";
"${mod}+Ctrl+x" = "exec ${lib.getExe pkgs.sway-contrib.grimshot} savecopy area";

# Custom modes
"${mod}+Escape" = ''mode "system: [l]ock [s]leep [h]ibernate [r]eboot [p]oweroff [e]xit"'';
Expand Down

0 comments on commit a6c0c45

Please sign in to comment.