]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/sway/files/config.jinja
Lock the screen on screensaver hotkey
[max/saltfiles.git] / states / sway / files / config.jinja
index 5dac6c7d320094034835f00da6deb3272d3100a8..a18e5a81e9ad3139a43f88ea7387973131f7ce07 100644 (file)
@@ -179,7 +179,10 @@ mode "resize" {
 
 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 
 
@@ -210,6 +213,10 @@ input 16700:8455:DELL_Dell_USB_Entry_Keyboard {
   xkb_variant colemak
   xkb_options ctrl:nocaps
 }
+
+input 7504:24616:unspecified_ErgoDox_ergonomic_keyboard {
+  xkb_layout gb
+}
 # host specific section
 {%- do salt.log.error('sway/files/' + host) -%}
 {% include 'sway/files/' + host %}