2024-12-13 17:00 : id 468

This commit is contained in:
deadvey 2024-12-13 17:00:50 +00:00
parent 242c502c0b
commit 31a1623970
2 changed files with 3 additions and 3 deletions

View File

@ -97,8 +97,8 @@ in
text = ''
file_updated="";
while sleep 1; do
new_file=$(date -r ${WALLPAPER_PATH})
if [[ "$new_file" != "$file" ]]; then
new_file_updated=$(date -r ${WALLPAPER_PATH})
if [[ "$new_file_updated" != "$file_updated" ]]; then
magick ${WALLPAPER_PATH} \
-fuzz 10% -fill "#${BG}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{0,0}]" info:-)" \
-fuzz 10% -fill "#${ACCENT}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{3475,1627}]" info:-)" \
@ -107,7 +107,7 @@ in
wpaperd &
kill $oldid
fi
file=$new_file
file_updated=$new_file_updated
done
'';
executable = true;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 32 KiB