diff options
author | Soispha <soispha@vhack.eu> | 2023-08-30 21:46:09 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-30 21:46:09 +0200 |
commit | a97a8df10655938e08fe67da640ee76d91af1d8f (patch) | |
tree | 9579f1e11a2f7348686a4e3ef3161bb08e081ef6 /sys | |
parent | Feat(sys/locale): Add a keymap with special char support (diff) | |
download | nixos-config-a97a8df10655938e08fe67da640ee76d91af1d8f.tar.gz nixos-config-a97a8df10655938e08fe67da640ee76d91af1d8f.zip |
Feat(sys/locale): Add modified dvorak keymap
Diffstat (limited to '')
-rw-r--r-- | sys/locale/default.nix | 5 | ||||
-rw-r--r-- | sys/locale/keymaps/dvorak_modified.xkb | 14 |
2 files changed, 19 insertions, 0 deletions
diff --git a/sys/locale/default.nix b/sys/locale/default.nix index d4a44b6b..24875167 100644 --- a/sys/locale/default.nix +++ b/sys/locale/default.nix @@ -39,6 +39,11 @@ in { languages = ["eng" "swe" "deu"]; symbolsFile = ./keymaps/us_modified.xkb; }; + "dvorak-modified" = { + description = "standard dvorak english with german and swedish extra chars."; + languages = ["eng" "swe" "deu"]; + symbolsFile = ./keymaps/dvorak_modified.xkb; + }; }; }; } diff --git a/sys/locale/keymaps/dvorak_modified.xkb b/sys/locale/keymaps/dvorak_modified.xkb new file mode 100644 index 00000000..c29a0f8c --- /dev/null +++ b/sys/locale/keymaps/dvorak_modified.xkb @@ -0,0 +1,14 @@ +partial alphanumeric_keys +xkb_symbols "dvorak-modified" { + name[Group1]= "Dvorak English with additional keys"; + + key <AC02> {[ o, O, ö, Ö]}; + key <AC04> {[ u, U, ü, Ü]}; + key <AC01> {[ a, A, ä, Ä, å, Å]}; + + + include "us(dvorak)" + include "level3(caps_switch)" + include "level5(ralt_switch)" +} +// vim: ft=xkb |