glindstedt / xwobf

X Window Obfuscator
MIT License
56 stars 4 forks source link

xwobf

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.

Usage

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.

Example lock script using i3lock

#!/bin/bash
# xwobf -s 5 -f /tmp/.i3lock.png
xwobf /tmp/.i3lock.png
i3lock -i /tmp/.i3lock.png

Credit

All credit for the idea belongs to Airblader and his gist.

License

MIT