From 1d2d759f3fe18bff3bdac46d37621ce9522581f5 Mon Sep 17 00:00:00 2001 From: tiyn Date: Fri, 15 Sep 2023 18:26:18 +0200 Subject: [PATCH] sxhkd: improved keymap command --- .config/sxhkd/sxhkdrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 74317d8..2eac669 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -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'