Browse Source

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

master
Von Random 2 years ago
parent
commit
2a1f535eeb
2 changed files with 2 additions and 6 deletions
  1. +1
    -5
      lock-screen
  2. +1
    -1
      xscreensaver-companion

+ 1
- 5
lock-screen View File

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

+ 1
- 1
xscreensaver-companion View File

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