From a97a8df10655938e08fe67da640ee76d91af1d8f Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 30 Aug 2023 21:46:09 +0200 Subject: Feat(sys/locale): Add modified dvorak keymap --- sys/locale/default.nix | 5 +++++ sys/locale/keymaps/dvorak_modified.xkb | 14 ++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 sys/locale/keymaps/dvorak_modified.xkb 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 {[ o, O, ö, Ö]}; + key {[ u, U, ü, Ü]}; + key {[ a, A, ä, Ä, å, Å]}; + + + include "us(dvorak)" + include "level3(caps_switch)" + include "level5(ralt_switch)" +} +// vim: ft=xkb -- cgit 1.4.1