1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/scripts/togglekeyboard

5 lines
142 B
Plaintext
Raw Permalink Normal View History

2016-04-17 14:32:03 +00:00
#!/bin/sh
variant=$(setxkbmap -query | grep 'variant:' | awk '{print $2}')
[ "$variant" == "dvorak" ] && setxkbmap gb || setxkbmap gb dvorak