Changes how the rectangle opacity is rendered

This commit is contained in:
Jean-Samuel Aubry-Guzzi 2018-04-08 12:25:27 -04:00 committed by Pavan Jadhaw
parent 8031fa6f2c
commit 2565b6a1e8

View file

@ -353,16 +353,16 @@ case "$1" in
echo
echo "Caching images for faster screen locking"
# resized
convert "$resized" -draw "fill black fill-opacity 0.4 $rectangles" "$l_resized"
convert "$resized" -draw "fill '#00000096' $rectangles" "$l_resized"
# dim
convert "$dim" -draw "fill black fill-opacity 0.4 $rectangles" "$l_dim"
convert "$dim" -draw "fill '#00000096' $rectangles" "$l_dim"
# blur
convert "$blur" -draw "fill black fill-opacity 0.4 $rectangles" "$l_blur"
convert "$blur" -draw "fill '#00000096' $rectangles" "$l_blur"
# blur
convert "$dimblur" -draw "fill black fill-opacity 0.4 $rectangles" "$l_dimblur"
convert "$dimblur" -draw "fill '#00000096' $rectangles" "$l_dimblur"
echo
echo "All required changes have been applied"