Added dmenu script to change layout.
This commit is contained in:
parent
bbb7d0926e
commit
ae7718d793
19
.config/awesome/layout.sh
Executable file
19
.config/awesome/layout.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user