Write a script for selecting screenshot modes

This commit is contained in:
Ohad Livne 2025-06-04 22:45:42 +03:00
parent 3d946665f1
commit 3d97448fee
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 57 additions and 2 deletions

View file

@ -243,8 +243,8 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
# Screenshots
#
bindsym Print exec grim ~/Photos/screenshots/$(date +'fullscreen-%Y%m%dT%H%M%S.png')
bindsym Shift+Print exec grim -g "$(slurp)" ~/Photos/screenshots/$(date +'selection-%Y%m%dT%H%M%S.png')
bindsym Print exec take-screenshot everything
bindsym Shift+Print exec take-screenshot
#
# Start a password manager in the scratchpad