nixos/config/i3/scripts/blur-lock

12 lines
170 B
Plaintext
Raw Normal View History

2023-02-28 10:41:11 +00:00
#!/usr/bin/env bash
PICTURE=/tmp/i3lock.png
SCREENSHOT="scrot -z $PICTURE"
BLUR="5x4"
$SCREENSHOT
convert $PICTURE -blur $BLUR $PICTURE
i3lock -i $PICTURE
rm $PICTURE