From 5b5e2c38fc7a31690293cbfaf2c95d552752dba7 Mon Sep 17 00:00:00 2001 From: histalek Date: Sat, 25 Dec 2021 22:07:17 +0100 Subject: [PATCH] sway: Dumb down screenlocking, add wlogout keybind --- .config/sway/conf.d/keybinds | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/sway/conf.d/keybinds b/.config/sway/conf.d/keybinds index 64f3bbc..88cd13a 100644 --- a/.config/sway/conf.d/keybinds +++ b/.config/sway/conf.d/keybinds @@ -23,8 +23,11 @@ bindsym $mod+Shift+c reload # Lock the screen - #bindsym Mod5+l exec swaylock -c 000000 - bindsym Mod5+l exec ~/.local/bin/scripts/lock_script + bindsym Mod5+l exec swaylock -c 000000 + #bindsym Mod5+l exec ~/.local/bin/scripts/lock_script + + # Start wlogout + bindsym Mod5+Shift+l exec wlogout # Select area for screenshot and copy to clipboard bindsym $mod+Shift+s exec IMG=~/Pictures/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG