2016-10-22 02:40:18 +03:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
BACKGROUND='/tmp/screen_locked.png'
|
|
|
|
notify-send DUNST_COMMAND_PAUSE
|
|
|
|
scrot $BACKGROUND
|
2017-01-19 10:28:48 +02:00
|
|
|
mogrify -scale 10% -colorspace GRAY -scale 1000% $BACKGROUND
|
2016-10-22 02:40:18 +03:00
|
|
|
until i3lock -entc 661111 -i $BACKGROUND; do :; done
|
|
|
|
rm $BACKGROUND
|
|
|
|
notify-send DUNST_COMMAND_RESUME
|