1
0
mirror of https://github.com/jack-something/dmenu-keyboard synced 2024-11-14 08:49:47 -05:00
dmenu-keyboard/dmenu-kb

13 lines
194 B
Plaintext
Raw Normal View History

2019-06-26 14:36:46 -04:00
#!/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