From b27c24a1b853f9036e5cfceb43cc9782e001cead Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Fri, 9 Aug 2024 13:42:25 -0500 Subject: [PATCH] Add host config option for scren lock command --- templates/.config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/.config/sway/config b/templates/.config/sway/config index 7aeda0e..14c9cfc 100644 --- a/templates/.config/sway/config +++ b/templates/.config/sway/config @@ -86,7 +86,7 @@ bindsym $mod+Shift+c reload bindsym $mod+Shift+r restart 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' bindsym $mod+Shift+q kill -bindsym $mod+Shift+p exec swaylock -c 000000 +bindsym $mod+Shift+p exec ${host.get('lock-cmd', 'swaylock -c 000000')} # Blank individual displays bindsym $mod+o output - dpms off