diff --git a/dmenu-kb b/dmenu-kb new file mode 100644 index 0000000..7465716 --- /dev/null +++ b/dmenu-kb @@ -0,0 +1,12 @@ +#!/bin/sh +pgrep -x dmenu && exit + +choice=$(echo "gb" | dmenu -i -p "Please type the keymap you wish to use:") || exit 1 + +if [ -z $choice ]; then + setxkbmap us + + +else + setxkbmap $choice +fi