]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/sway/files/config.jinja
Set keyboard layout for keyboards on barium
[max/saltfiles.git] / states / sway / files / config.jinja
index 536627f0a02e01ad5d5e6617c4623f69778de8ab..86b9e213cd569e1ef9cf1aeb1dd4ad9454cd8f92 100644 (file)
@@ -188,6 +188,13 @@ exec swayidle \
     resume 'swaymsg "output * dpms on" \
   before-sleep "lock.nosmartcard"
 
+# This keyboard has this layout on all machines:
+input 1241:36:HOLDCHIP_USB_Keyboard {
+  xkb_layout us
+  xkb_variant colemak
+  xkb_options ctrl:nocaps
+}
+
 # host specific section
 {%- do salt.log.error('sway/files/' + host) -%}
 {% include 'sway/files/' + host %}