From: Maximilian Friedersdorff Date: Tue, 26 Nov 2019 08:28:37 +0000 (+0000) Subject: Lock the screen on screensaver hotkey X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=c493f745e673b7e24a8706292838b7b1c5154a67;p=max%2Fsaltfiles.git Lock the screen on screensaver hotkey --- diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index 4b7931e..a18e5a8 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -182,6 +182,8 @@ bindsym $mod+p mode "resize" bindsym XF86MonBrightnessUp exec "brightnessctl set +100" bindsym XF86MonBrightnessDown exec "brightnessctl set 100-" +bindsym XF86ScreenSaver exec "lock.nosmartcard" + hide_edge_borders both focus_follows_mouse no