Simon Désaulniers <sim.desaulni...@gmail.com> writes:

> Unless there are important issues concerning this request, I don't
> think that we should do that for reasons I mentionned above. Please,
> feel free to respond if I'm missing something important.

:-(

Would you consider this patch? Seems that upstream use "import" not
instead of "scrot" (despite documentation saying otherwise).

For reasons I don't fully comprehend, scrot when called from xss-lock
always produces a black bitmap, but after this change it works fine.


--- /usr/bin/i3lock-fancy       2018-01-26 15:54:36.000000000 +1100
+++ bin/lock.sh 2018-09-06 16:29:53.025279474 +1000
@@ -49,7 +49,7 @@
     pl_* ) TEXT="Podaj hasło" ;; # Polish
 esac
 
-scrot -z "$IMAGE"
+import -window root "$IMAGE"
 ICON="$SCRIPTPATH/lock.png"
 PARAM=(--textcolor=ffffff00 --insidecolor=ffffff1c --ringcolor=ffffff3e \
        --linecolor=ffffff00 --keyhlcolor=00000080 --ringvercolor=00000000 \

-- 
Brian May <b...@debian.org>

Reply via email to