Created
May 15, 2018 11:50
-
-
Save naoki-mizuno/313014e4473f32e319ed7a6e4f524c75 to your computer and use it in GitHub Desktop.
SandS startup script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ -n $REMOTEHOST ]] || [[ -n $SSH_CONNECTION ]]; then | |
exit | |
fi | |
if [ -n "$( ps aux | grep -v grep | grep xcape )" ]; then | |
# xmodmap -e 'keycode 49=Escape asciitilde' | |
# xmodmap -e 'keycode 9=grave Escape' | |
killall xcape | |
fi | |
xmodmap -e 'keycode 255=space' | |
xmodmap -e 'keycode 65=Shift_L' | |
xcape -e '#65=space' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment