Skip to content

Instantly share code, notes, and snippets.

@vtypal
Created October 2, 2011 19:16
Show Gist options
  • Save vtypal/1257798 to your computer and use it in GitHub Desktop.
Save vtypal/1257798 to your computer and use it in GitHub Desktop.
wmii script to control keyboard layout
#!/bin/sh
if setxkbmap -print|grep -q us; then
setxkbmap -layout el
else
setxkbmap -layout us
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment