mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-09 10:39:45 +00:00
Switch to rgba for rectangle opacity rendering.
This commit is contained in:
parent
2565b6a1e8
commit
73bff1ca38
1 changed files with 4 additions and 5 deletions
|
@ -353,17 +353,16 @@ case "$1" in
|
||||||
echo
|
echo
|
||||||
echo "Caching images for faster screen locking"
|
echo "Caching images for faster screen locking"
|
||||||
# resized
|
# resized
|
||||||
convert "$resized" -draw "fill '#00000096' $rectangles" "$l_resized"
|
convert "$resized" -draw "fill rgba(0, 0, 0, 0.4) $rectangles" "$l_resized"
|
||||||
|
|
||||||
# dim
|
# dim
|
||||||
convert "$dim" -draw "fill '#00000096' $rectangles" "$l_dim"
|
convert "$dim" -draw "fill rgba(0, 0, 0, 0.4) $rectangles" "$l_dim"
|
||||||
|
|
||||||
# blur
|
# blur
|
||||||
convert "$blur" -draw "fill '#00000096' $rectangles" "$l_blur"
|
convert "$blur" -draw "fill rgba(0, 0, 0, 0.4) $rectangles" "$l_blur"
|
||||||
|
|
||||||
# blur
|
# blur
|
||||||
convert "$dimblur" -draw "fill '#00000096' $rectangles" "$l_dimblur"
|
convert "$dimblur" -draw "fill rgba(0, 0, 0, 0.4) $rectangles" "$l_dimblur"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "All required changes have been applied"
|
echo "All required changes have been applied"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue