add fixkb script

This commit is contained in:
Von Random 2016-08-26 19:45:24 +03:00
parent fa6c4120b7
commit 339a51b8db

5
fixkb.zsh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env zsh
pkill xxkb
setxkbmap -layout us,ru -variant altgr-intl,typewriter -option ctrl:nocaps,grp:win_space_toggle,grp_led:caps,compose:menu
xkbcomp $DISPLAY - | egrep -v "group . = AltGr;" | xkbcomp - $DISPLAY 2>/dev/null
xxkb & disown