corrupter

Simple image glitcher suitable for producing nice looking i3lock backgrounds.

Getting Started

$ git clone https://github.com/r00tman/corrupter
$ cd corrupter && go build
$ ./corrupter -h
$ ./corrupter shots/test2.png out.png && xdg-open out.png

At the moment, you can only pass and output png images. But that's enough to work well with scrot and i3lock.

Also, now there's corrupter-git AUR package maintained by alrayyes!

Less distorted image

Default config is pretty heavy-handed. To get less disrupted images you may want to reduce blur and distortion:

$ ./corrupter -mag 1 -boffset 2 shots/test2.png out.png && xdg-open out.png

Using with i3lock+scrot/swaylock+grim

Example lock script:

#!/usr/bin/env bash
tmpbg="/tmp/screen.png"
scrot "$tmpbg"; corrupter "$tmpbg" "$tmpbg"
i3lock -i "$tmpbg"; rm "$tmpbg"

test2_out

screen2

screen5

GitHub