From 21f42a7dfb8bc281a7f2133bca9f73c9c4a4bef5 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Mon, 29 Jul 2019 10:58:21 +0200 Subject: [PATCH] [sway] Screenshot and lockscreen keys --- .config/sway/config | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 0938772..fa3f1f3 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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/*