Skip to content

Instantly share code, notes, and snippets.

@jsamuel1
Last active February 18, 2019 04:33
Show Gist options
  • Save jsamuel1/b6bb952552ae23d81d6a3895a6aba456 to your computer and use it in GitHub Desktop.
Save jsamuel1/b6bb952552ae23d81d6a3895a6aba456 to your computer and use it in GitHub Desktop.
i3lock with a blured screenshot background
#!/bin/sh
# for autolock, have xautolock call this script:
# xautolock -time 10 -locker lock.sh -enable
scrot /tmp/screenshot.png
convert /tmp/screenshot.png -blur 0x7 -blue-shift 1.5 /tmp/screenshotblur.png
rm /tmp/screenshot.png
i3lock -i /tmp/screenshotblur.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment