summaryrefslogtreecommitdiff
path: root/colematik/colematik.xkb
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-01 10:55:58 +0100
committerMartin Fischer <martin@push-f.com>2024-12-11 08:37:52 +0100
commitc363b1a07dde605947c556ead7955c8f3c532d19 (patch)
treecffe3e58f35d6d7b590c59483bbdf47c0b32887b /colematik/colematik.xkb
parent09dc1fefcf73dd3e57939105c22d050a65222211 (diff)
add custom keyboard layout
I've been using my own custom variant of Colemak Mod-DH since at least 2019.
Diffstat (limited to 'colematik/colematik.xkb')
-rw-r--r--colematik/colematik.xkb31
1 files changed, 31 insertions, 0 deletions
diff --git a/colematik/colematik.xkb b/colematik/colematik.xkb
new file mode 100644
index 0000000..51ee77f
--- /dev/null
+++ b/colematik/colematik.xkb
@@ -0,0 +1,31 @@
+xkb_keymap {
+ xkb_keycodes { include "evdev+aliases(qwerty)" };
+ xkb_types { include "complete" };
+ xkb_compat { include "complete" };
+ xkb_symbols {
+ include "pc+us(colemak)"
+ include "ctrl(swap_lalt_lctl)"
+
+ name[Group1]= "Colematik";
+
+ # Mod-DH
+ key <AD05> {[ b, B ]};
+ key <AC05> {[ g, G ]};
+ key <AB04> {[ d, D ]};
+ key <AB05> {[ v, V ]};
+
+ key <AC06> {[ k, K ]};
+ key <AB06> {[ m, M ]};
+ key <AB07> {[ h, H ]};
+
+ key <RWIN> {[ Multi_key ]};
+
+ # more intuitive German umlauts
+ key <AC01> {[ a, A, adiaeresis, Adiaeresis ]};
+ key <AD08> {[ u, U, udiaeresis, Udiaeresis ]};
+ key <AC10> {[ o, O, odiaeresis, Odiaeresis ]};
+
+ include "inet(evdev)+terminate(ctrl_alt_bksp)"
+ };
+ xkb_geometry { include "pc(pc105)" };
+};