sway: fix screenshot capture

This commit is contained in:
Vladan Popovic 2024-10-22 20:37:15 +02:00
parent db05b6ba8e
commit 2844c29a9c

View file

@ -122,9 +122,9 @@
bindsym $mod+z exec swaylock -c 000000 bindsym $mod+z exec swaylock -c 000000
# Take full screen screenshot with PrtScr # Take full screen screenshot with PrtScr
bindsym Print exec grim -t png "~/screenshot-$(date +%Y-%m-%d-%H%M%S).png" bindsym Print exec grim -t png ~/screenshot-$(date +%Y-%m-%d-%H%M%S).png
# Take area screenshot with Shift+PrtScr # Take area screenshot with Shift+PrtScr
bindsym Shift+Print exec grim -g "$(slurp)" "~/screenshot-$(date +%Y-%m-%d-%H%M%S).png" bindsym Shift+Print exec grim -g "$(slurp)" ~/screenshot-$(date +%Y-%m-%d-%H%M%S).png
# #
# Resizing containers: # Resizing containers: