From 4de02847278826f45873e4833955aecf46ebdefa Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 23 Jan 2024 22:23:52 +0100 Subject: xkb: Simplify keyboard layouts --- .xkb/symbols/mango | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to '.xkb') 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 { [ at, 2, at, 2 ] }; key { [ numbersign, 3, numbersign, 3 ] }; key { [ EuroSign, 4, dollar, 4 ] }; + key { [ dollar, 4, EuroSign, EuroSign ] }; key { [ percent, 5, dollar, 5 ] }; key { [ asciicircum, 6, asciicircum, 6 ] }; key { [ ampersand, 7, ampersand, 7 ] }; @@ -31,7 +32,9 @@ xkb_symbols "basic" { key { [ comma, less, rightsinglequotemark ] }; key { [ period, greater, ellipsis ] }; - replace key { [ Meta_L ] }; // For Emacs + key { [ space, space, nobreakspace, nobreakspace ] }; + + // replace key { [ Meta_L ] }; // For Emacs }; partial @@ -42,14 +45,3 @@ xkb_symbols "german" { key { [ NoSymbol, NoSymbol, singlelowquotemark, doublelowquotemark ] }; key { [ NoSymbol, NoSymbol, leftsinglequotemark, leftdoublequotemark ] }; }; - -partial -xkb_symbols "coding" { - include "mango(basic)" - name[Group1] = "Mango (Coding)"; - - key { [ dollar, 4, EuroSign, EuroSign ] }; - key { [ NoSymbol, NoSymbol, EuroSign, EuroSign ] }; - - key { [ space, space, nobreakspace, nobreakspace ] }; -}; -- cgit v1.2.3