1
0
mirror of https://github.com/jack-something/dmenu-keyboard synced 2026-01-29 14:02:55 -05:00

Add files via upload

This commit is contained in:
Jack Moore 2019-06-26 19:36:46 +01:00 committed by GitHub
parent cce7ef4fe4
commit e5c55649a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
dmenu-kb Normal file
View File

@ -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