commit aa9ca5cf315623a066a3c0d49979ec44927058ee Author: Hane Date: Thu Nov 9 18:23:52 2023 +0100 First commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..1cd8ac3 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +## How-to + +- Copy eyy to /usr/share/X11/xkb/symbols + +- Edit /usr/share/X11/xkb/rules/evdev and add: +``` +! option = symbols + ... + eyy:eyymacs = +eyy(eyymacs) +! include %S/evdev +``` +### KDE + +- Edit ~/.config/kxkbrc and add: +``` +Options=eyy:eyymacs,shift:both_capslock_cancel +``` \ No newline at end of file diff --git a/eyy b/eyy new file mode 100644 index 0000000..e6a2e19 --- /dev/null +++ b/eyy @@ -0,0 +1,22 @@ +// n ab06 q ad01 +partial modifier_keys +xkb_symbols "eyymacs" { + include "us(basic)" + name[Group1] = "English (eyymacs)"; + + key { [ Tab ] }; + key { [ Control_L ] }; + + key {[ o, O, U00F3, U00D3 ]}; + key {[ i, I, U00ED, U00CD ]}; + key {[ e, E, U00E9, U00C9 ]}; + key {[ a, A, U00E1, U00C1 ]}; + key {[ u, U, U00FA, U00DA ]}; + key {[ n, N, U00F1, U00D1 ]}; + key {[ 2, at, U00FC, U00DC ]}; + key {[ 3, numbersign, U20AC, U20AC ]}; + + modifier_map Control { }; + //include "eurosign(3)" + include "level3(ralt_switch)" +}; diff --git a/kxkbrc b/kxkbrc new file mode 100644 index 0000000..6c31fa9 --- /dev/null +++ b/kxkbrc @@ -0,0 +1,11 @@ +[$Version] +update_info=kxkb.upd:remove-empty-lists,kxkb.upd:add-back-resetoptions,kxkb_variants.upd:split-variants + +[Layout] +DisplayNames=, +LayoutList=us,es +Model=pc86 +Options=eyy:eyymacs,shift:both_capslock_cancel +ResetOldOptions=true +Use=true +VariantList=,winkeys