dotfiles/.config/awesome/layout.sh
2020-08-04 16:43:33 +08:00

20 lines
218 B
Bash
Executable File

#!/bin/bash
# dmenu script to change Xorg layout
options="
1) US\n\
2) Colemak
"
option=$(echo -e $options | dmenu -i)
echo $option
case $option in
1*)
setxkbmap us
;;
2*)
setxkbmap us -variant colemak
;;
esac