#+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