From a4e7c0d67f608256dc1aefa6fb8639cce2c02c58 Mon Sep 17 00:00:00 2001 From: finga Date: Wed, 3 Jan 2024 10:43:20 +0100 Subject: [PATCH] fuzzy-i3lock: Use and improve 37c3 fuzzy-i3lock --- .config/i3/config | 2 +- .local/bin/fuzzy-i3lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 6e26a89..a4b23b6 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -291,4 +291,4 @@ workspace $ws11 output $screen0 workspace $ws12 output $screen0 # start autolock -exec_always xautolock -time 5 -locker "fuzzy-i3lock" +exec_always xautolock -time 5 -locker "fuzzy-i3lock 37c3" diff --git a/.local/bin/fuzzy-i3lock b/.local/bin/fuzzy-i3lock index f018b60..7890925 100755 --- a/.local/bin/fuzzy-i3lock +++ b/.local/bin/fuzzy-i3lock @@ -11,7 +11,7 @@ screenshot="${TMPDIR:-/tmp}/fuzzy-i3lock.png" scrot -o "$screenshot" case $1 in - "37c3") mogrify -scale 10% -scale 1000% -blur 0x1 -dither FloydSteinberg -colors 32 "$screenshot" + "37c3") mogrify -scale 10% -scale 500% -dither FloydSteinberg -colors 32 -scale 200% "$screenshot" ;; *) mogrify -scale 10% -scale 1000% "$screenshot" ;;