diff --git a/config/openbox/kblayout.sh b/config/openbox/kblayout.sh new file mode 100755 index 0000000..666a922 --- /dev/null +++ b/config/openbox/kblayout.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +(setxkbmap -query | grep -q "layout:\s\+us") && setxkbmap fi || setxkbmap us + diff --git a/config/openbox/rc.xml b/config/openbox/rc.xml index d6ac1a1..860e44a 100644 --- a/config/openbox/rc.xml +++ b/config/openbox/rc.xml @@ -335,6 +335,11 @@ rofi -show calc + + + /home/siina/.config/openbox/kblayout.sh + +