mykblayouts fix
This commit is contained in:
parent
aee496b072
commit
e22922e6b5
1 changed files with 2 additions and 2 deletions
|
@ -3,11 +3,11 @@
|
|||
# reset this before setting anything
|
||||
setxkbmap us -option
|
||||
|
||||
if $(lsusb -d '04d9:0125' > /dev/null); then
|
||||
if $(lsusb -d '04d9:0125' > /dev/null) || [[ -n $1 ]]; then
|
||||
layouts='us(altgr-intl),ru(typewriter)'
|
||||
else
|
||||
layouts='ducky_mini(us),ducky_mini(ru)'
|
||||
fi
|
||||
opts='grp:win_space_toggle,compose:menu'
|
||||
opts='grp:win_space_toggle,compose:menu,ctrl:nocaps'
|
||||
|
||||
setxkbmap $layouts -option $opts
|
||||
|
|
Loading…
Reference in a new issue