From d31f971717f1bc3a3c613ac0660cee3eefbdb175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sat, 19 Dec 2020 17:39:01 +0100 Subject: [PATCH] Add swaylock binding --- .config/sway/config | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index eff31f1..d91a6d8 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -82,7 +82,11 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill bindsym $mod+Shift+c reload # lock the screen - #bindsym $mod+l exec swaylock -f -c 000000 + # Note: $mod+l is already taken + bindsym Ctrl+Shift+l exec swaylock -f -c 000000 + + # Screenshot + bindsym Print exec grim # exit sway (logs you out of your Wayland session) bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' @@ -199,9 +203,6 @@ mode "resize" { } bindsym $mod+r mode "resize" -# Screenshot -bindsym Print exec grim - # # Status Bar: #