random script dump
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lock-screen 370B

12345678910
  1. #!/usr/bin/env zsh
  2. BACKGROUND='/tmp/screen_locked.png'
  3. /usr/bin/notify-send DUNST_COMMAND_PAUSE
  4. /usr/bin/scrot $BACKGROUND
  5. /usr/bin/mogrify -scale 10% -colorspace GRAY -scale 1000% $BACKGROUND
  6. /usr/bin/setxkbmap us
  7. until /usr/bin/i3lock -entc 661111 -i $BACKGROUND; do :; done
  8. $HOME/vscripts/mykblayouts
  9. /usr/bin/rm $BACKGROUND
  10. /usr/bin/notify-send DUNST_COMMAND_RESUME