]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Lock the screen on screensaver hotkey
authorMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 26 Nov 2019 08:28:37 +0000 (08:28 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Tue, 26 Nov 2019 08:28:37 +0000 (08:28 +0000)
states/sway/files/config.jinja

index 4b7931ee2fd5a26c1ec6dd496ec3f531101d9b92..a18e5a81e9ad3139a43f88ea7387973131f7ce07 100644 (file)
@@ -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