mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-08 03:48:27 +02:00
- Updated xkb configs to accept macOS word-wise text manipulations. Closes #2.
This commit is contained in:
8
mac_wordwise.sh
Executable file
8
mac_wordwise.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
mkdir -p ~/.xkb/{keymap,symbols,types}
|
||||
cp ./.xkb/symbols/mac_onelvl ~/.xkb/symbols/mac_onelvl
|
||||
cp ./.xkb/types/mac_onelvl ~/.xkb/types/mac_onelvl
|
||||
setxkbmap -option
|
||||
setxkbmap -print > ~/.xkb/keymap/kbd.mac.onelvl
|
||||
line=$(cat ~/.xkb/keymap/kbd.mac.onelvl | grep -n 'xkb_symbols' | cut -f1 -d:)
|
||||
sed -ie "${line}s/)\"/)+altwin(ctrl_alt_win)+mac_onelvl(mac_onelvlsym)\"/g" ~/.xkb/keymap/kbd.mac.onelvl
|
Reference in New Issue
Block a user