i3lock: Make fuzzy-i3lock a bit like 37c3
This commit is contained in:
parent
c3bf62e3ed
commit
c4a7b9bc40
2 changed files with 9 additions and 2 deletions
|
@ -9,5 +9,12 @@
|
|||
screenshot="${TMPDIR:-/tmp}/fuzzy-i3lock.png"
|
||||
|
||||
scrot -o "$screenshot"
|
||||
mogrify -scale 10% -scale 1000% "$screenshot"
|
||||
|
||||
case $1 in
|
||||
"37c3") mogrify -scale 10% -scale 1000% -blur 0x1 -dither FloydSteinberg -colors 32 "$screenshot"
|
||||
;;
|
||||
*) mogrify -scale 10% -scale 1000% "$screenshot"
|
||||
;;
|
||||
esac
|
||||
|
||||
exec i3lock -i "$screenshot"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue