A simple program that takes a screenshot of your desktop and obscures all visible windows. It is intended for use with programs such as i3lock to dynamically generate a lockscreen.
The program takes a filename argument. The filename should end with a .png, .jpg or equivalent suffix. The -s (--size) argument lets you set the radius of the pixellation effect, and the -f (--fuzzy) option blurs the resulting image.
#!/bin/bash
# xwobf -s 5 -f /tmp/.i3lock.png
xwobf /tmp/.i3lock.png
i3lock -i /tmp/.i3lock.png
All credit for the idea belongs to Airblader and his gist.
MIT