add screenshot script+binds

This commit is contained in:
lucy 2026-08-25 00:04:30 +02:00
commit 60a6364fa0
2 changed files with 30 additions and 2 deletions

View file

@ -146,8 +146,9 @@ bind=SUPER,Return,spawn,foot
bind=SUPER+SHIFT,q,quit
bind=SUPER,q,killclient,
# screenshot binds
bind = SUPER+SHIFT,S,spawn_shell,grim -g "$(slurp)" - | wl-copy
bind=ALT+SHIFT,S,spawn_shell,grim -o "$(mmsg get all-monitors | jq -r '.monitors[] | select(.active) | .name')" - | wl-copy
bind = SUPER+SHIFT,S,spawn_shell,$HOME/.config/mango/scripts/screenshot freeze-region
bind=ALT+SHIFT,S,spawn_shell,$HOME/.config/mango/scripts/screenshot output
bind=ALT+CTRL,S,spawn_shell,$HOME/.config/mango/scripts/screenshot window
# swap window
bind=SUPER+SHIFT,Up,exchange_client,up