summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-23 22:23:52 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-27 16:11:47 +0100
commit4de02847278826f45873e4833955aecf46ebdefa (patch)
tree223b99241b1f00b836004294b59e5be16d2d9be6
parent54cb9150191d453af51f46994764ce99c1c0b9d9 (diff)
xkb: Simplify keyboard layouts
-rw-r--r--.xkb/symbols/mango16
1 files changed, 4 insertions, 12 deletions
diff --git a/.xkb/symbols/mango b/.xkb/symbols/mango
index e36f41c..3d07716 100644
--- a/.xkb/symbols/mango
+++ b/.xkb/symbols/mango
@@ -9,6 +9,7 @@ xkb_symbols "basic" {
key <AE02> { [ at, 2, at, 2 ] };
key <AE03> { [ numbersign, 3, numbersign, 3 ] };
key <AE04> { [ EuroSign, 4, dollar, 4 ] };
+ key <AE04> { [ dollar, 4, EuroSign, EuroSign ] };
key <AE05> { [ percent, 5, dollar, 5 ] };
key <AE06> { [ asciicircum, 6, asciicircum, 6 ] };
key <AE07> { [ ampersand, 7, ampersand, 7 ] };
@@ -31,7 +32,9 @@ xkb_symbols "basic" {
key <AB08> { [ comma, less, rightsinglequotemark ] };
key <AB09> { [ period, greater, ellipsis ] };
- replace key <RCTL> { [ Meta_L ] }; // For Emacs
+ key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
+
+ // replace key <RCTL> { [ Meta_L ] }; // For Emacs
};
partial
@@ -42,14 +45,3 @@ xkb_symbols "german" {
key <AC10> { [ NoSymbol, NoSymbol, singlelowquotemark, doublelowquotemark ] };
key <AC11> { [ NoSymbol, NoSymbol, leftsinglequotemark, leftdoublequotemark ] };
};
-
-partial
-xkb_symbols "coding" {
- include "mango(basic)"
- name[Group1] = "Mango (Coding)";
-
- key <AE04> { [ dollar, 4, EuroSign, EuroSign ] };
- key <AE05> { [ NoSymbol, NoSymbol, EuroSign, EuroSign ] };
-
- key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
-};