[sway] Screenshot and lockscreen keys

This commit is contained in:
Vladan Popovic 2019-07-29 10:58:21 +02:00
parent f98b7d00f7
commit 21f42a7dfb
1 changed files with 8 additions and 0 deletions

View File

@ -212,4 +212,12 @@ bar {
swaybar_command waybar
}
# Lock screen
bindsym $mod+z exec swaylock -c 000000
# Take full screen screenshot with PrtScr
bindsym Print exec grim -t png /tmp/screen.png
# Take area screenshot with Shift+PrtScr
bindsym Shift+Print exec slurp
include /etc/sway/config.d/*