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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue