lock-screen: get rid of scrot; xscreensaver-companion: fix mykblayouts path

This commit is contained in:
Von Random 2019-10-21 16:45:58 +03:00
parent fc7e5afe89
commit 2a1f535eeb
2 changed files with 2 additions and 6 deletions

View file

@ -1,10 +1,6 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
BACKGROUND='/tmp/screen_locked.png'
/usr/bin/notify-send DUNST_COMMAND_PAUSE /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 /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 $HOME/vscripts/mykblayouts
/usr/bin/rm $BACKGROUND
/usr/bin/notify-send DUNST_COMMAND_RESUME /usr/bin/notify-send DUNST_COMMAND_RESUME

View file

@ -10,7 +10,7 @@ function parse_actions
/usr/bin/notify-send DUNST_COMMAND_PAUSE /usr/bin/notify-send DUNST_COMMAND_PAUSE
;; ;;
(UNBLANK) (UNBLANK)
$HOME/vscripts/mykblayouts $HOME/git/mine/vscripts/mykblayouts
/usr/bin/notify-send DUNST_COMMAND_RESUME /usr/bin/notify-send DUNST_COMMAND_RESUME
;; ;;
esac esac