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