Adding keyboard layout switching
This commit is contained in:
parent
6f93f19b1b
commit
7cb25d1366
2 changed files with 9 additions and 0 deletions
4
config/openbox/kblayout.sh
Executable file
4
config/openbox/kblayout.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
(setxkbmap -query | grep -q "layout:\s\+us") && setxkbmap fi || setxkbmap us
|
||||
|
|
@ -335,6 +335,11 @@
|
|||
<command>rofi -show calc</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<keybind key="W-space">
|
||||
<action name="Execute">
|
||||
<command>/home/siina/.config/openbox/kblayout.sh</command>
|
||||
</action>
|
||||
</keybind>
|
||||
<!-- Keybindings for manipulating volume -->
|
||||
<!-- keybind key="0x1008ff13">
|
||||
<action name="RaiseVolume">
|
||||
|
|
Loading…
Reference in a new issue