sway: date formatted screenshots in home
This commit is contained in:
parent
a3b0b8754b
commit
db4a1cf198
1 changed files with 2 additions and 2 deletions
|
@ -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 /tmp/screen.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)" /tmp/screen.png
|
bindsym Shift+Print exec grim -g "$(slurp)" "~/screenshot-$(date +%Y-%m-%d-%H%M%S).png"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Resizing containers:
|
# Resizing containers:
|
||||||
|
|
Loading…
Reference in a new issue