diff options
| author | Evgenii Lepikhin <e.lepihin@postgrespro.ru> | 2023-09-29 15:24:08 +0300 |
|---|---|---|
| committer | Evgenii Lepikhin <e.lepihin@postgrespro.ru> | 2023-09-29 15:24:08 +0300 |
| commit | 71b99004794bd2455c4a793e82d3a89696e9cb58 (patch) | |
| tree | 4ab94bf10a3d529ded1c7d104a132abd7614cbda | |
| parent | refactor: xkb (diff) | |
| download | johnlepikhin-guix-channel-71b99004794bd2455c4a793e82d3a89696e9cb58.tar.gz | |
fix: Added missing file
| -rw-r--r-- | johnlepikhin/home/files/xkb/custom.xkb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/johnlepikhin/home/files/xkb/custom.xkb b/johnlepikhin/home/files/xkb/custom.xkb new file mode 100644 index 0000000..4658901 --- /dev/null +++ b/johnlepikhin/home/files/xkb/custom.xkb @@ -0,0 +1,58 @@ +xkb_keymap { + xkb_keycodes { include "evdev+aliases(qwerty)" }; + xkb_compat { include "complete" }; + xkb_geometry { include "pc(pc104)" }; + + xkb_types { + include "complete" + type "THREE_GROUPS" { + modifiers = Shift+Control+Alt; + map[None] = Level1; + map[Control] = Level2; + map[Shift] = Level3; + level_name[Level1] = "Base"; + level_name[Level2] = "Ctrl"; + level_name[Level3] = "Shift"; + }; + }; + + xkb_symbols "custom" { + include "pc+us" + include "ru:2" + include "us(dvorak):3" + include "inet(evdev)" + include "compose(ralt)" + + name[group1]="EN"; + name[group2]="RU"; + name[group3]="EN(DV)"; + + replace key <CAPS> { + type = "THREE_GROUPS", + actions[Group1]=[LockGroup(group=1), LockGroup(group=2), LockGroup(group=3), LockMods(modifiers=Lock)] + }; + + key.type = "ONE_LEVEL"; + + key <PRSC> { [ Insert ] }; + + key <KP8> { [ KP_Up ] }; + key <KP5> { [ KP_Down ] }; + key <KP4> { [ KP_Left ] }; + key <KP6> { [ KP_Right ] }; + + key <KP7> { [ Home ] }; + key <KP9> { [ End ] }; + + key <KPAD> { [ Prior ] }; + key <KPEN> { [ Next ] }; + + key <KP0> { [ Insert ] }; + key <KPDL> { [ Undo ] }; + + key <KP1> { [ BackSpace ] }; + key <KP3> { [ Delete ] }; + + key <KP2> { [ NoSymbol ] }; + }; +}; |
