#!/usr/bin/env bash

bg_pic='/tmp/lockscreen.png'

import -window root "$bg_pic"

mogrify -scale 10% -scale 1000% "$bg_pic"

i3lock -i "$bg_pic"


Write a lock screen script
Write a lock screen script

It pixelizes the current view and uses this for i3lock's background.
Could use some adjusting, but it's ok for now.

In particular, can this all be done without saving and with arbitrary
pixelization-scale?
