Created
July 27, 2010 14:09
-
-
Save Dubhead/492260 to your computer and use it in GitHub Desktop.
This file contains 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/zsh | |
# Bind BackSpace key for Caps_Lock. | |
/usr/bin/xmodmap -e 'keycode 66 = BackSpace' | |
/usr/bin/xmodmap -e 'remove Lock = BackSpace' | |
/usr/bin/xset r 66 | |
# Bind Caps_Lock key for BackSpace. | |
/usr/bin/xmodmap -e 'keycode 22 = Caps_Lock' | |
/usr/bin/xmodmap -e 'add Lock = Caps_Lock' | |
/usr/bin/xset -r 22 | |
# eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment