2024-12-13 16:59 : id 467
This commit is contained in:
parent
c8fba86a9d
commit
242c502c0b
@ -95,9 +95,9 @@ in
|
|||||||
file = {
|
file = {
|
||||||
"scripts/wallpaper-updater.sh" = {
|
"scripts/wallpaper-updater.sh" = {
|
||||||
text = ''
|
text = ''
|
||||||
file="";
|
file_updated="";
|
||||||
while sleep 1; do
|
while sleep 1; do
|
||||||
new_file=$(cat ${WALLPAPER_PATH})
|
new_file=$(date -r ${WALLPAPER_PATH})
|
||||||
if [[ "$new_file" != "$file" ]]; then
|
if [[ "$new_file" != "$file" ]]; then
|
||||||
magick ${WALLPAPER_PATH} \
|
magick ${WALLPAPER_PATH} \
|
||||||
-fuzz 10% -fill "#${BG}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{0,0}]" info:-)" \
|
-fuzz 10% -fill "#${BG}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{0,0}]" info:-)" \
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 186 KiB After Width: | Height: | Size: 186 KiB |
Loading…
x
Reference in New Issue
Block a user