Browse Source

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

master
Von Random 2 years ago
parent
commit
2a1f535eeb
  1. 6
      lock-screen
  2. 2
      xscreensaver-companion

6
lock-screen

@ -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

2
xscreensaver-companion

@ -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…
Cancel
Save