mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-14 20:29:44 +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 "Caching images for faster screen locking"
|
||||
# resized
|
||||
convert "$resized" -draw "fill '#00000096' $rectangles" "$l_resized"
|
||||
convert "$resized" -draw "fill rgba(0, 0, 0, 0.4) $rectangles" "$l_resized"
|
||||
|
||||
# dim
|
||||
convert "$dim" -draw "fill '#00000096' $rectangles" "$l_dim"
|
||||
convert "$dim" -draw "fill rgba(0, 0, 0, 0.4) $rectangles" "$l_dim"
|
||||
|
||||
# blur
|
||||
convert "$blur" -draw "fill '#00000096' $rectangles" "$l_blur"
|
||||
convert "$blur" -draw "fill rgba(0, 0, 0, 0.4) $rectangles" "$l_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 "All required changes have been applied"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue