From c5db86536ab9bf40cef6dbe2c50f01306dd73b94 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 13 Jun 2017 16:16:13 +0300 Subject: [PATCH] absolute paths for the lock-screen script --- lock-screen | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lock-screen b/lock-screen index fc98d1a..e591132 100755 --- a/lock-screen +++ b/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