mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-01-07 17:49:47 +01:00
sxhkd: changed keymap to use rctrl as compose key
This commit is contained in:
@@ -6,13 +6,13 @@ echo $variant
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
toggle) if [ "$layout" = "de" -a "$variant" = "nodeadkeys" ]
|
toggle) if [ "$layout" = "de" -a "$variant" = "nodeadkeys" ]
|
||||||
then
|
then
|
||||||
setxkbmap de && notify-send -u low 'SXHKD' 'Set keymap to german'
|
setxkbmap de -option compose:rctrl && notify-send -u low 'SXHKD' 'Set keymap to german'
|
||||||
elif [ "$layout" = "de" -a "$variant" = "" ]
|
elif [ "$layout" = "de" -a "$variant" = "" ]
|
||||||
then
|
then
|
||||||
setxkbmap de ru && notify-send -u low 'SXHKD' 'Set keymap to russian (german)'
|
setxkbmap de ru -option compose:rctrl && notify-send -u low 'SXHKD' 'Set keymap to russian (german)'
|
||||||
elif [ "$layout" = "de" -a "$variant" = "ru" ]
|
elif [ "$layout" = "de" -a "$variant" = "ru" ]
|
||||||
then
|
then
|
||||||
setxkbmap de nodeadkeys && notify-send -u low 'SXHKD' 'Set keymap to german (nodeadkeys)'
|
setxkbmap de nodeadkeys -option compose:rctrl && notify-send -u low 'SXHKD' 'Set keymap to german (nodeadkeys)'
|
||||||
fi ;;
|
fi ;;
|
||||||
*) cat << EOF
|
*) cat << EOF
|
||||||
keymap: cli script to change the keymap quickly.
|
keymap: cli script to change the keymap quickly.
|
||||||
|
|||||||
Reference in New Issue
Block a user