2016-10-22 02:40:18 +03:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
BACKGROUND='/tmp/screen_locked.png'
|
2017-06-13 16:16:13 +03:00
|
|
|
/usr/bin/notify-send DUNST_COMMAND_PAUSE
|
|
|
|
/usr/bin/scrot $BACKGROUND
|
|
|
|
/usr/bin/mogrify -scale 10% -colorspace GRAY -scale 1000% $BACKGROUND
|
2017-06-27 17:29:20 +03:00
|
|
|
/usr/bin/setxkbmap -layout us -variant altgr-intl
|
2017-06-13 16:16:13 +03:00
|
|
|
until /usr/bin/i3lock -entc 661111 -i $BACKGROUND; do :; done
|
2017-06-27 17:29:20 +03:00
|
|
|
$HOME/vscripts/mykblayouts
|
2017-06-13 16:16:13 +03:00
|
|
|
/usr/bin/rm $BACKGROUND
|
|
|
|
/usr/bin/notify-send DUNST_COMMAND_RESUME
|