Configured grimshot

Keyboard shortcuts for taking screenshots
This commit is contained in:
Alejandro Angulo 2023-07-22 10:05:56 -07:00
parent d739f578a1
commit 79d42200d0
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -55,6 +55,8 @@ in {
slurp slurp
xdg-utils xdg-utils
xdg-desktop-portal-wlr xdg-desktop-portal-wlr
sway-contrib.grimshot
wev
]; ];
# For screen sharing to work # For screen sharing to work
@ -274,6 +276,20 @@ in {
## Move focus to the parent container ## Move focus to the parent container
"${modifier}+a" = "focus parent"; "${modifier}+a" = "focus parent";
# Screenshots
## Current window
"${modifier}+period" = "exec grimshot --notify save active ~/screenshots";
## Area selection
"${modifier}+Shift+period" = "exec grimshot --notify save area ~/screenshots";
## Current output
"${modifier}+Alt+period" = "exec grimshot --notify save output ~/screenshots";
## Window selection
"${modifier}+Ctrl+period" = "exec grimshot --notify save window ~/screenshots";
# Scratchpad # Scratchpad
# Move the currently focused window to the scratchpad # Move the currently focused window to the scratchpad
"${modifier}+Shift+minus" = "move scratchpad"; "${modifier}+Shift+minus" = "move scratchpad";