nixos/old/config/i3/scripts/blur-lock

12 lines
172 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"
2023-02-28 15:38:54 +00:00
BLUR="15x12"
2023-02-28 10:41:11 +00:00
$SCREENSHOT
convert $PICTURE -blur $BLUR $PICTURE
i3lock -i $PICTURE
rm $PICTURE