tvim: get rid of nvim; mykblayouts: get rid of ducky layouts; compton_toggle: disable fade effects
This commit is contained in:
parent
6c3e745835
commit
8d27b64fdb
3 changed files with 5 additions and 12 deletions
12
mykblayouts
12
mykblayouts
|
@ -1,14 +1,8 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
layouts='us(altgr-intl),ru(typewriter)'
|
||||
opts='grp:win_space_toggle,compose:menu,ctrl:nocaps'
|
||||
|
||||
# reset this before setting anything
|
||||
setxkbmap us -option
|
||||
|
||||
if $(lsusb -d '04d9:0125' > /dev/null) || [[ -n $1 ]]; then
|
||||
layouts='us(altgr-intl),ru(typewriter)'
|
||||
opts='grp:win_space_toggle,compose:menu,ctrl:nocaps'
|
||||
else
|
||||
layouts='us(ducky),ru(ducky)'
|
||||
opts='grp:win_space_toggle,compose:menu'
|
||||
fi
|
||||
|
||||
setxkbmap $layouts -option $opts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue