sxhkd: improved keymap command

master
tiyn 1 year ago
parent 3605c38993
commit 1d2d759f3f

@ -25,7 +25,7 @@ super + m
thunderbird thunderbird
super + shift + l super + shift + l
setxkbmap -query | grep -q ' de' && $(setxkbmap ru ; notify-send 'sxhkd' 'Set keymap to russian') || $(setxkbmap de nodeadkeys ; notify-send 'sxhkd' 'Set keymap to german') setxkbmap -query | grep -q 'nodeadkeys' && $(setxkbmap de ru ; notify-send 'sxhkd' 'Set keymap to russian') || $(setxkbmap de nodeadkeys ; notify-send 'sxhkd' 'Set keymap to german')
super + shift + r super + shift + r
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config' pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'

Loading…
Cancel
Save