Created
March 13, 2014 22:10
-
-
Save ze-/9538110 to your computer and use it in GitHub Desktop.
toggles between dvorak and qwerty, i bind it in my wm to Super+semicolon (awkward and rare to press by accident)
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/sh | |
CURRENT=$(setxkbmap -print | grep symbols | cut -d\( -f2 | cut -d\) -f1) | |
if [ "$CURRENT" == "dvorak" ];then | |
setxkbmap us | |
else | |
setxkbmap dvorak | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment