mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Added a dmanu script to change to xkb keymap
This commit is contained in:
parent
25bc0bc263
commit
aef442fc3e
@ -292,6 +292,7 @@ bindsym $mod+F9 exec --no-startup-id dmenumount
|
||||
bindsym $mod+F10 exec --no-startup-id dmenuumount
|
||||
bindsym $mod+F11 exec --no-startup-id ducksearch
|
||||
bindsym $mod+F12 exec $term -e nmtui
|
||||
bindsym $mod+Shift+F12 exec keymap
|
||||
|
||||
# #---Arrow Keys---# #
|
||||
bindsym $mod+Left focus left
|
||||
|
||||
9
.scripts/i3cmds/keymap
Executable file
9
.scripts/i3cmds/keymap
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# A dmenu keymap script to change the languish
|
||||
# Its also easy to add xkb -options to this script
|
||||
list_default=$(localectl list-x11-keymap-layouts)
|
||||
list=$(sed '/! variant/,/^$/!d;/..:/!d;s/:/ /g' < /usr/share/X11/xkb/rules/evdev.lst| awk -F" " '{print $2" "$1}')
|
||||
list="$list_default$list"
|
||||
|
||||
choice=$(printf "$list" | dmenu -i -p "$1" -nb darkblue -sb blue -sf white -nf gray )
|
||||
setxkbmap $choice
|
||||
Loading…
x
Reference in New Issue
Block a user