foodotfiles/home/Scripts/switchlayout.sh
Marko Korhonen b1335a3628 Removed commit history
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
2019-10-26 20:05:31 +03:00

9 lines
157 B
Bash
Executable File

#!/bin/bash
curLayout=$(setxkbmap -query | grep layout | sed 's/layout: //g')
if [ $curLayout == "eu" ]; then
setxkbmap dvorak
else
setxkbmap eu
fi