]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/sway/files/config.jinja
Ensue uk colemak on dell keyboard
[max/saltfiles.git] / states / sway / files / config.jinja
index 536627f0a02e01ad5d5e6617c4623f69778de8ab..0d59a3311c0ef2f7df15a26bcd03e8f4415efef9 100644 (file)
@@ -188,6 +188,18 @@ 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
+}
+
+input 16700:8455:DELL_Dell_USB_Entry_Keyboard {
+  xkb_layout gb
+  xkb_variant colemak
+  xkb_options ctrl:nocaps
+}
 # host specific section
 {%- do salt.log.error('sway/files/' + host) -%}
 {% include 'sway/files/' + host %}