diff --git a/.config/awesome/layout.sh b/.config/awesome/layout.sh new file mode 100755 index 0000000..1e0ce56 --- /dev/null +++ b/.config/awesome/layout.sh @@ -0,0 +1,19 @@ +#!/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