Jack Moore
GitHub
4 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
12 additions and
0 deletions
-
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 |