From 4c0be5f03aebd63359b15775121184dfbfd7b9d1 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 10 May 2023 08:52:06 +0300 Subject: Add keyboards --- keyboards.org | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 keyboards.org diff --git a/keyboards.org b/keyboards.org new file mode 100644 index 0000000..3e64494 --- /dev/null +++ b/keyboards.org @@ -0,0 +1,28 @@ +#+TITLE: My Custom Keyboards + +* Cyrillic +Setting up ~phonetic_mac~ on Wayland was too cumbersome for me, so I just set it up as a separate keymap altogether. +#+begin_src fundamental :tangle "/sudo::/usr/share/X11/xkb/symbols/my-cyr" :auto_tangle nil + partial alphanumeric_keys + xkb_symbols "phonetic_mac" { + + include "ru(phonetic_winkeys)" + name[Group1]= "Russian (phonetic Macintosh)"; + + key { [ Cyrillic_ie, Cyrillic_IE, Cyrillic_io, Cyrillic_IO ] }; + key { [ Cyrillic_sha, Cyrillic_SHA ] }; + key { [ Cyrillic_ve, Cyrillic_VE ] }; + key { [ Cyrillic_shcha, Cyrillic_SHCHA ] }; + key { [ Cyrillic_yu, Cyrillic_YU ] }; + key { [ Cyrillic_zhe, Cyrillic_ZHE ] }; + key { [ 3, numbersign, numerosign ] }; + key { [ 4, dollar, U20BD ] }; // ruble + key { [ 5, percent ] }; + key { [ 6, asciicircum ] }; + key { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, minus, underscore ] }; + key { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal, plus ] }; + + include "level3(ralt_switch)" + }; +#+end_src + -- cgit v1.2.3