1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-28 14:07:46 +01:00

sxhkd: improved keymap command

This commit is contained in:
tiyn 2023-09-15 18:26:18 +02:00
parent 3605c38993
commit 1d2d759f3f

View File

@ -25,7 +25,7 @@ super + m
thunderbird
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
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'