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
Bash
Executable File

#!/bin/sh
variant=$(setxkbmap -query | grep 'variant:' | awk '{print $2}')
[ "$variant" == "dvorak" ] && setxkbmap gb || setxkbmap gb dvorak