2024-12-12 15:19 : id 390

This commit is contained in:
deadvey 2024-12-12 15:19:30 +00:00
parent efd346d0eb
commit 3abbbaac8e

View File

@ -114,7 +114,8 @@ in
};
"scripts/wallpaper-updater.sh" = {
text = ''
magick ${WALLPAPER_PATH} -fuzz 10% -fill #${BG} -opaque "$(convert ${WALLPAPER_PATH} -format '%[pixel:u.p{0,0}]' info:-)" ${WALLPAPER_PATH}
COLOR=$(convert /home/deadvey/.config/home-manager/themes/wallpaper.png -format "%[pixel:u.p{0,0}]" info:-)
magick ${WALLPAPER_PATH} -fuzz 10% -fill #${BG} -opaque "$COLOR" ${WALLPAPER_PATH}
'';
executable = true;
};