summary refs log tree commit diff stats
path: root/bin/blur-lock
blob: 7b5aa6ab3268eb38e846626bb0cefb265adcf8f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

PICTURE=/tmp/swaylock.png
SCREENSHOT="grim $PICTURE"

BLUR="5x4"

$SCREENSHOT
convert $PICTURE -blur $BLUR $PICTURE
swaylock -i $PICTURE
rm $PICTURE