2024-12-12 17:21 : id 419

This commit is contained in:
deadvey 2024-12-12 17:21:08 +00:00
parent cf05275745
commit 02196e3849
2 changed files with 7 additions and 2 deletions

View File

@ -107,8 +107,13 @@ in
}; };
"scripts/wallpaper-updater.sh" = { "scripts/wallpaper-updater.sh" = {
text = '' text = ''
magick ${WALLPAPER_PATH} -fuzz 10% -fill "#${BG}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{0,0}]" info:-)" ${WALLPAPER_PATH} #magick ${WALLPAPER_PATH} -fuzz 10% -fill "#${BG}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{0,0}]" info:-)" ${WALLPAPER_PATH}
magick ${WALLPAPER_PATH} -fuzz 10% -fill "#${ACCENT}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{3475,1627}]" info:-)" ${WALLPAPER_PATH} #magick ${WALLPAPER_PATH} -fuzz 10% -fill "#${ACCENT}" -opaque "$(convert ${WALLPAPER_PATH} -format "%[pixel:u.p{3475,1627}]" info:-)" ${WALLPAPER_PATH}
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:-)" \
${WALLPAPER_PATH}
kill -9 $(pgrep hyprpaper) kill -9 $(pgrep hyprpaper)
sleep 1 sleep 1
hyprpaper & hyprpaper &

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 186 KiB