dotfiles/i3/scripts/i3lock_blur.sh

13 lines
194 B
Bash
Raw Permalink Normal View History

2023-03-08 15:02:58 +01:00
#!/bin/bash
tmp1=$(mktemp --suffix=.png)
tmp2=$(mktemp --suffix=.png)
scrot -o $tmp1
ffmpeg -i $tmp1 -vf "boxblur=10:1" -vframes 1 -y $tmp2 -loglevel quiet
i3lock -i $tmp2
rm $tmp1
rm $tmp2