Add python utility to fix monotone palettes and integrate into wallpaper script

This commit is contained in:
2026-04-20 17:52:24 -04:00
parent 80bb43ae13
commit b98ddd3db9
2 changed files with 86 additions and 0 deletions
+3
View File
@@ -50,6 +50,9 @@ fi
echo "Extracting colors using Pywal..."
wal -i "$IMAGE_PATH" -n -q 2> >(grep -v "deprecated in IMv7" >&2)
# Enhance colors if the palette is too monotone
python3 "$HOME/scripts/blob_color_fixer.py" "$HOME/.cache/wal/colors"
# Clear old backgrounds and copy the new one into the dynamic theme
rm -f "$THEME_DIR/backgrounds/"*
cp "$IMAGE_PATH" "$THEME_DIR/backgrounds/"