diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2018-09-07 22:56:15 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2018-09-07 22:56:15 +0200 |
commit | 9aca8f30138f5a7f2129403c9f92341286f815e6 (patch) | |
tree | 0469ef87401a06b9117116ab553d6480805db21d /.xkb/symbols | |
parent | 871a738ef322a75463a2f0d5d9676190752edabe (diff) |
Added new keyboard layout
Diffstat (limited to '.xkb/symbols')
-rw-r--r-- | .xkb/symbols/ch-custom | 24 | ||||
-rw-r--r-- | .xkb/symbols/custom | 30 |
2 files changed, 30 insertions, 24 deletions
diff --git a/.xkb/symbols/ch-custom b/.xkb/symbols/ch-custom deleted file mode 100644 index 66cd95d..0000000 --- a/.xkb/symbols/ch-custom +++ /dev/null @@ -1,24 +0,0 @@ -default partial alphanumeric_keys -xkb_symbols "basic" { - key <AE07> { [ 7, dollar, sterling ] }; - key <BKSL> { [ slash, bar, braceright ] }; - key <CAPS> { [ Escape ] }; -}; - -partial alphanumeric_keys -xkb_symbols "desktop" { - include "ch-custom(basic)" - - key <MENU> { [ Super_R ] }; -}; - -partial alphanumeric_keys -xkb_symbols "x1" { - include "ch-custom(basic)" - - key <PRSC> { [ Super_R ] }; - key <PGUP> { [ Home ] }; - key <PGDN> { [ End ] }; - key <END> { [ Page_Down ] }; - key <HOME> { [ Page_Up ] }; -}; diff --git a/.xkb/symbols/custom b/.xkb/symbols/custom new file mode 100644 index 0000000..e77b1eb --- /dev/null +++ b/.xkb/symbols/custom @@ -0,0 +1,30 @@ +default partial alphanumeric_keys +xkb_symbols "basic" { + key <TLDE> { [ dead_tilde, dead_acute, dead_grave ] }; + key <AE03> { [ 3, dollar ] }; + key <AE04> { [ 4, ccedilla ] }; + key <AE06> { [ 6, dead_circumflex ] }; + key <AD03> { [ e, E, EuroSign ] }; + key <AD06> { [ z, Z ] }; + key <CAPS> { [ Escape ] }; + key <BKSL> { [ numbersign, dead_diaeresis ] }; + key <AB01> { [ y, Y ] }; +}; + +partial alphanumeric_keys +xkb_symbols "desktop" { + include "custom(basic)" + + key <MENU> { [ Super_R ] }; +}; + +partial alphanumeric_keys +xkb_symbols "x1" { + include "custom(basic)" + + key <PRSC> { [ Super_R ] }; + key <PGUP> { [ Home ] }; + key <PGDN> { [ End ] }; + key <END> { [ Page_Down ] }; + key <HOME> { [ Page_Up ] }; +}; |