mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-10 12:57:42 +02:00
- Relocated files not relevant to install under references, deleted others
This commit is contained in:
15
references/old-files/mac_wordwise.sh
Executable file
15
references/old-files/mac_wordwise.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
mkdir -p ~/.xkb/{keymap,symbols,types}
|
||||
cp ./.xkb/symbols/mac_gui ~/.xkb/symbols/mac_gui
|
||||
cp ./.xkb/types/mac_gui ~/.xkb/types/mac_gui
|
||||
setxkbmap -option
|
||||
setxkbmap -print > ~/.xkb/keymap/kbd.mac.gui
|
||||
setxkbmap -print > ~/.xkb/keymap/kbd.mac.term
|
||||
line=$(cat ~/.xkb/keymap/kbd.mac.gui | grep -n 'xkb_symbols' | cut -f1 -d:)
|
||||
sed -ie "${line}s/\"/+altwin(ctrl_alt_win)+mac_gui(mac_levelssym)\"/2" ~/.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/\"/+mac_gui(addmac_levels)\"/2" ~/.xkb/keymap/kbd.mac.gui
|
||||
sleep 1
|
||||
line=$(cat ~/.xkb/keymap/kbd.mac.term | grep -n 'xkb_symbols' | cut -f1 -d:)
|
||||
sed -ie "${line}s/\"/+altwin(swap_alt_win)+mac_term(mac_levelssym)\"/2" ~/.xkb/keymap/kbd.mac.term
|
Reference in New Issue
Block a user