Add python utility to fix monotone palettes and integrate into wallpaper script
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user