Revert "new keyboard layout in town"

This reverts commit e7c841e5f1.
This commit is contained in:
Von Random 2017-06-27 17:29:20 +03:00
parent e7c841e5f1
commit 53d1499705
2 changed files with 8 additions and 2 deletions

View file

@ -3,8 +3,8 @@ BACKGROUND='/tmp/screen_locked.png'
/usr/bin/notify-send DUNST_COMMAND_PAUSE /usr/bin/notify-send DUNST_COMMAND_PAUSE
/usr/bin/scrot $BACKGROUND /usr/bin/scrot $BACKGROUND
/usr/bin/mogrify -scale 10% -colorspace GRAY -scale 1000% $BACKGROUND /usr/bin/mogrify -scale 10% -colorspace GRAY -scale 1000% $BACKGROUND
/usr/bin/setxkbmap 'ducky_mini(us)' /usr/bin/setxkbmap -layout us -variant altgr-intl
until /usr/bin/i3lock -entc 661111 -i $BACKGROUND; do :; done until /usr/bin/i3lock -entc 661111 -i $BACKGROUND; do :; done
/usr/bin/setxkbmap 'ducky_mini(us),ducky_mini(ru)' $HOME/vscripts/mykblayouts
/usr/bin/rm $BACKGROUND /usr/bin/rm $BACKGROUND
/usr/bin/notify-send DUNST_COMMAND_RESUME /usr/bin/notify-send DUNST_COMMAND_RESUME

6
mykblayouts Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env zsh
layouts='us,ru'
variants='altgr-intl,typewriter'
opts='ctrl:nocaps,grp:win_space_toggle,compose:menu'
setxkbmap -layout $layouts -variant $variants -option $opts