Skip to content

Instantly share code, notes, and snippets.

Created Feb 16, 2017
What would you like to do?
Simple lock script preserving background with xwobf and i3lock.

Here is the result:

What you need:

  • i3lock-color
  • xwobf
  • scrot
scrot /tmp/screen.png
xwobf -s 11 /tmp/screen.png
i3lock --textcolor=ffffff00 --insidecolor=ffffff1c --ringcolor=ffffff3e --linecolor=ffffff00 --keyhlcolor=00000080 --ringvercolor=00000000 --separatorcolor=22222260 --insidevercolor=0000001c --ringwrongcolor=00000055 --insidewrongcolor=0000001c -i /tmp/screen.png
rm /tmp/screen.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment