From 84ecd5d882855705d653966539a0e82bd750152b Mon Sep 17 00:00:00 2001 From: Ben Reaves Date: Sun, 4 Aug 2019 13:46:47 -0500 Subject: [PATCH] - Corrected an issue that would have prevented the new mac keymap from taking effect. --- mac_wordwise.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mac_wordwise.sh b/mac_wordwise.sh index e4ffdbf..65ed5a4 100755 --- a/mac_wordwise.sh +++ b/mac_wordwise.sh @@ -6,3 +6,6 @@ setxkbmap -option setxkbmap -print > ~/.xkb/keymap/kbd.mac.gui line=$(cat ~/.xkb/keymap/kbd.mac.gui | grep -n 'xkb_symbols' | cut -f1 -d:) sed -ie "${line}s/)\"/)+altwin(ctrl_alt_win)+mac_levels(mac_levelssym)\"/g" ~/.xkb/keymap/kbd.mac.gui +sleep 1 +line=$(cat ~/.xkb/keymap/kbd.mac.gui | grep -n 'xkb_types' | cut -f1 -d:) +sed -ie "${line}s/)\"/)+altwin(ctrl_alt_win)+mac_levels(addmac_levels)\"/g" ~/.xkb/keymap/kbd.mac.gui