- Several changes, need to do more testing before merging into master. It appears to work on chromebooks though, the more difficult of the 3.

This commit is contained in:
Ryan Reaves
2019-07-30 02:33:52 -05:00
parent 930279ba9e
commit 53ad0d579f
6 changed files with 78 additions and 63 deletions

View File

@@ -3,6 +3,6 @@ mkdir -p ~/.kbd/{keymap,symbols}
cp ./.xkb/symbols/chromebook ~/.xkb/symbols/chromebook
setxkbmap -option
setxkbmap -print > ~/.xkb/keymap/kbd.gui
line=$(cat ~/.testkbd/keymap/mykbd | grep -n 'xkb_symbols' | cut -f1 -d:)
line=$(cat ~/.xkb/keymap/kbd.gui | grep -n 'xkb_symbols' | cut -f1 -d:)
sed -ie "${line}s/)\"/)+chromebook(swap_lalt_lctrl)\"/g" ~/.xkb/keymap/kbd.gui
#xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.gui $DISPLAY