absolute paths for the lock-screen script
This commit is contained in:
parent
6c22f6be55
commit
c5db86536a
1 changed files with 8 additions and 8 deletions
16
lock-screen
16
lock-screen
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue