Created
July 7, 2012 12:00
-
-
Save bamthomas/3066154 to your computer and use it in GitHub Desktop.
toggle_azerty_querty
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 ( setxkbmap -query | grep fr > /dev/null ) | |
then setxkbmap us -option compose:ralt | |
else setxkbmap fr -option "" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment