absolute paths for the lock-screen script

This commit is contained in:
Von Random 2017-06-13 16:16:13 +03:00
parent 6c22f6be55
commit c5db86536a

View file

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