mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
9 lines
157 B
Bash
9 lines
157 B
Bash
|
#!/bin/bash
|
||
|
curLayout=$(setxkbmap -query | grep layout | sed 's/layout: //g')
|
||
|
|
||
|
if [ $curLayout == "eu" ]; then
|
||
|
setxkbmap dvorak
|
||
|
else
|
||
|
setxkbmap eu
|
||
|
fi
|