summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-05-10 08:52:06 +0300
committerThanos Apollo <[email protected]>2023-05-10 08:52:06 +0300
commit4c0be5f03aebd63359b15775121184dfbfd7b9d1 (patch)
treeba8b371ed112a74aa9a07554c5220c175e4bf35d
parent289f19037fce06025c46e101846afd1c92e17ff1 (diff)
Add keyboards
-rw-r--r--keyboards.org28
1 files changed, 28 insertions, 0 deletions
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 <LatE> { [ Cyrillic_ie, Cyrillic_IE, Cyrillic_io, Cyrillic_IO ] };
+ key <LatW> { [ Cyrillic_sha, Cyrillic_SHA ] };
+ key <LatV> { [ Cyrillic_ve, Cyrillic_VE ] };
+ key <TLDE> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
+ key <AD11> { [ Cyrillic_yu, Cyrillic_YU ] };
+ key <AD12> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
+ key <AE03> { [ 3, numbersign, numerosign ] };
+ key <AE04> { [ 4, dollar, U20BD ] }; // ruble
+ key <AE05> { [ 5, percent ] };
+ key <AE06> { [ 6, asciicircum ] };
+ key <AE11> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, minus, underscore ] };
+ key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal, plus ] };
+
+ include "level3(ralt_switch)"
+ };
+#+end_src
+