--- /dev/null
+#!/bin/sh
+setxkbmap -variant colemak gb
+xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L"
+xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R"
+xmodmap -e "add Control = Control_L Control_R"
--- /dev/null
+#!/bin/sh
+setxkbmap -variant colemak us
+xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L"
+xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R"
+xmodmap -e "add Control = Control_L Control_R"
- user: {{ grains['user'] }}
- group: {{ grains['user'] }}
- mode: 750
+
+layout colemak gb:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.local/bin/layout-colemak_gb
+ - source: salt://i3/files/layout-colemak_gb
+ - user: {{ grains['user'] }}
+ - group: {{ grains['user'] }}
+ - mode: 750
+
+layout colemak us:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.local/bin/layout-colemak_us
+ - source: salt://i3/files/layout-colemak_us
+ - user: {{ grains['user'] }}
+ - group: {{ grains['user'] }}
+ - mode: 750