lock-screen: get rid of scrot; xscreensaver-companion: fix mykblayouts path
This commit is contained in:
parent
fc7e5afe89
commit
2a1f535eeb
2 changed files with 2 additions and 6 deletions
|
@ -1,10 +1,6 @@
|
|||
#!/usr/bin/env zsh
|
||||
BACKGROUND='/tmp/screen_locked.png'
|
||||
/usr/bin/notify-send DUNST_COMMAND_PAUSE
|
||||
/usr/bin/scrot $BACKGROUND
|
||||
/usr/bin/mogrify -scale 10% -colorspace GRAY -scale 1000% $BACKGROUND
|
||||
/usr/bin/setxkbmap us
|
||||
until /usr/bin/i3lock -entc 661111 -i $BACKGROUND; do :; done
|
||||
until /usr/bin/i3lock -entc 333333; do :; done
|
||||
$HOME/vscripts/mykblayouts
|
||||
/usr/bin/rm $BACKGROUND
|
||||
/usr/bin/notify-send DUNST_COMMAND_RESUME
|
||||
|
|
|
@ -10,7 +10,7 @@ function parse_actions
|
|||
/usr/bin/notify-send DUNST_COMMAND_PAUSE
|
||||
;;
|
||||
(UNBLANK)
|
||||
$HOME/vscripts/mykblayouts
|
||||
$HOME/git/mine/vscripts/mykblayouts
|
||||
/usr/bin/notify-send DUNST_COMMAND_RESUME
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue