Compare commits
No commits in common. "448ce94ae818fcae63dca9c15db0c07a4d3a3ff2" and "d7d68f4f5310010e495a736ca221a14bb27be93d" have entirely different histories.
448ce94ae8
...
d7d68f4f53
4
sxhkdrc
4
sxhkdrc
|
@ -10,10 +10,6 @@
|
||||||
#super + @space
|
#super + @space
|
||||||
# dmenu_run
|
# dmenu_run
|
||||||
|
|
||||||
# toggle keyboard layout
|
|
||||||
super + BackSpace
|
|
||||||
~/.config/sxhkd/toggle-gb-ru-kb.sh
|
|
||||||
|
|
||||||
# mouse scroll down
|
# mouse scroll down
|
||||||
super + Down
|
super + Down
|
||||||
xte 'mouseclick 5'
|
xte 'mouseclick 5'
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
LAYOUT=$(setxkbmap -query | grep layout | grep -oP "gb|ru")
|
|
||||||
if [ $LAYOUT = 'gb' ] ; then
|
|
||||||
setxkbmap ru
|
|
||||||
else
|
|
||||||
setxkbmap gb
|
|
||||||
fi
|
|
Loading…
Reference in New Issue