myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

commit 929178681f65de890c0e16b8b4cd66343e1c6e4a
parent 11051aa8ebaa6771c2972dff794878a7126cce11
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 23 Dec 2018 16:39:26 +0100

adapt for wayland/sway

Diffstat:
xkb/README | 10++++++++++
xkb/symbols/a3nm | 7+++++++
xkb/symbols/accents | 30+++++++++++++++---------------
3 files changed, 32 insertions(+), 15 deletions(-)

diff --git a/xkb/README b/xkb/README @@ -0,0 +1,10 @@ +This folder gets symlinked as ~/.xkb. + +To load under Xorg: + +- xkbcomp -I$HOME/config/xkb ~/config/xkb/map $DISPLAY + +To load with wayland and sway: + +- XKB_DEFAULT_LAYOUT=a3nm sway + diff --git a/xkb/symbols/a3nm b/xkb/symbols/a3nm @@ -0,0 +1,7 @@ +// based on a keyboard map from an 'xkb/symbols/dk' file + +partial alphanumeric_keys +xkb_symbols "dvorak" { + include "pc+us(dvorak)+inet(evdev)+accents(accents)+compose(caps)+altgr(altgr)+space(space)" +}; + diff --git a/xkb/symbols/accents b/xkb/symbols/accents @@ -1,18 +1,18 @@ partial alphanumeric_keys xkb_symbols "accents" { - key <AC02> { [ o, O, ocircumflex, Ocircumflex ] }; - key <AC03> { [ e, E, eacute, Eacute ] }; - key <AB01> { [ semicolon, colon, agrave, Agrave ] }; - key <AB03> { [ j, J, egrave, Egrave ] }; - key <AD01> { [ apostrophe, quotedbl, acircumflex, Acircumflex ] }; - key <AD02> { [ comma, less, dead_cedilla ] }; - key <AD03> { [ period, greater, ecircumflex, Ecircumflex ] }; - key <AD04> { [ p, P, ucircumflex, Ucircumflex ] }; - key <AC04> { [ u, U, ugrave, Ugrave ] }; - key <AC05> { [ i, I, icircumflex, Icircumflex ] }; - key <AC07> { [ h, H, dead_acute ] }; - key <AC08> { [ t, T, dead_circumflex ] }; - key <AC09> { [ n, N, dead_grave ] }; - key <AC10> { [ s, S, dead_diaeresis ] }; - key <AD08> { [ c, C, ccedilla, Ccedilla ] }; + replace key <AC02> { [ o, O, ocircumflex, Ocircumflex ] }; + replace key <AC03> { [ e, E, eacute, Eacute ] }; + replace key <AB01> { [ semicolon, colon, agrave, Agrave ] }; + replace key <AB03> { [ j, J, egrave, Egrave ] }; + replace key <AD01> { [ apostrophe, quotedbl, acircumflex, Acircumflex ] }; + replace key <AD02> { [ comma, less, dead_cedilla ] }; + replace key <AD03> { [ period, greater, ecircumflex, Ecircumflex ] }; + replace key <AD04> { [ p, P, ucircumflex, Ucircumflex ] }; + replace key <AC04> { [ u, U, ugrave, Ugrave ] }; + replace key <AC05> { [ i, I, icircumflex, Icircumflex ] }; + replace key <AC07> { [ h, H, dead_acute ] }; + replace key <AC08> { [ t, T, dead_circumflex ] }; + replace key <AC09> { [ n, N, dead_grave ] }; + replace key <AC10> { [ s, S, dead_diaeresis ] }; + replace key <AD08> { [ c, C, ccedilla, Ccedilla ] }; };