diff --git a/alex/sway.nix b/alex/sway.nix index c1f54ae..81b3759 100644 --- a/alex/sway.nix +++ b/alex/sway.nix @@ -166,7 +166,9 @@ in "${modifier}+Shift+l" = "exec swaylock -f"; - "${modifier}+Shift+s" = "exec grim -g \"$(slurp)\" - | wl-copy"; + "${modifier}+Shift+s" = "exec grim -g \"$(slurp)\" - | tee \"/home/alex/Pictures/Screenshots/$(date +'%Y%m%d_%Hh%Mm%Ss_grim.png')\" | wl-copy"; + + "Print" = "exec grim - | tee \"/home/alex/Pictures/Screenshots/$(date +'%Y%m%d_%Hh%Mm%Ss_grim.png')\" | wl-copy"; # Workspaces "--whole-window ${modifier}+button4" = "workspace prev";