diff options
-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 |