Setup screenshots in hyprland

This commit is contained in:
Nathan McCarty 2023-06-16 21:29:47 -04:00
parent 5735e28243
commit 08884cf6e2
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 7 additions and 1 deletions

View File

@ -35,7 +35,9 @@ in with lib; {
}; };
})) }))
# Screenshots # Screenshots
sway-contrib.grimshot (inputs.hyprland-contrib.packages.${pkgs.system}.grimblast.override {
hyprland = config.wayland.windowManager.hyprland.package;
})
# fuzzel for launcher # fuzzel for launcher
fuzzel fuzzel
# for image viewing # for image viewing
@ -183,6 +185,10 @@ in with lib; {
bind = SHIFT, xf86audiolowervolume, exec, swayosd --output-volume=-2 bind = SHIFT, xf86audiolowervolume, exec, swayosd --output-volume=-2
bind = , xf86audiomute, exec, swayosd --output-volume mute-toggle bind = , xf86audiomute, exec, swayosd --output-volume mute-toggle
# Screenshots
bind = , print, exec, grimblast copysave area ~/Pictures/Screenshots/$(date -Iseconds).png
bind = SHIFT, print, exec, grimblast copysave output ~/Pictures/Screenshots/$(date -Iseconds).png
# Caps lock indicator # Caps lock indicator
bindr = CAPS, caps_lock, exec, swayosd --caps-lock bindr = CAPS, caps_lock, exec, swayosd --caps-lock