Skip to content

Instantly share code, notes, and snippets.

@seqizz
Created May 12, 2015 13:05
Show Gist options
  • Save seqizz/5f47f48bae7a82b72c83 to your computer and use it in GitHub Desktop.
Save seqizz/5f47f48bae7a82b72c83 to your computer and use it in GitHub Desktop.
i3lock with pixelize effect
scrot /tmp/screen.png
convert /tmp/screen.png -scale 10% -scale 1000% /tmp/screen.png
[[ -f $HOME/Pictures/Icons/lock.png ]] && convert /tmp/screen.png $HOME/Pictures/Icons/lock.png -gravity center -composite -matte /tmp/screen.png
#dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Stop
i3lock -n -t -i /tmp/screen.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment