ctrl:nocaps fix

This commit is contained in:
Von Random 2017-07-26 01:22:22 +03:00
parent e22922e6b5
commit 09631ca385

View file

@ -5,9 +5,10 @@ setxkbmap us -option
if $(lsusb -d '04d9:0125' > /dev/null) || [[ -n $1 ]]; then if $(lsusb -d '04d9:0125' > /dev/null) || [[ -n $1 ]]; then
layouts='us(altgr-intl),ru(typewriter)' layouts='us(altgr-intl),ru(typewriter)'
opts='grp:win_space_toggle,compose:menu,ctrl:nocaps'
else else
layouts='ducky_mini(us),ducky_mini(ru)' layouts='ducky_mini(us),ducky_mini(ru)'
opts='grp:win_space_toggle,compose:menu'
fi fi
opts='grp:win_space_toggle,compose:menu,ctrl:nocaps'
setxkbmap $layouts -option $opts setxkbmap $layouts -option $opts