diff --git a/lock-screen b/lock-screen index b4fd2a2..e591132 100755 --- a/lock-screen +++ b/lock-screen @@ -3,8 +3,8 @@ BACKGROUND='/tmp/screen_locked.png' /usr/bin/notify-send DUNST_COMMAND_PAUSE /usr/bin/scrot $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 -/usr/bin/setxkbmap 'ducky_mini(us),ducky_mini(ru)' +$HOME/vscripts/mykblayouts /usr/bin/rm $BACKGROUND /usr/bin/notify-send DUNST_COMMAND_RESUME diff --git a/mykblayouts b/mykblayouts new file mode 100755 index 0000000..efaa3c9 --- /dev/null +++ b/mykblayouts @@ -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