Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions dotfiles/.config/ml4w/scripts/ml4w-wallpaper
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,6 @@ if [[ ! -f "$IMAGE_PATH" ]]; then
error "Image file does not exist -> $IMAGE_PATH"; exit 1
fi

mkdir -p "$CACHE_FOLDER"
echo "$IMAGE_PATH" > "$CACHE_FILE"
info "Cache updated: $IMAGE_PATH"

# ============================================================
# Main
# ============================================================
Expand All @@ -248,6 +244,11 @@ set_wallpaper
if "$SKIP_THEMING"; then
info "Updating theming skipped"
else
# Update cache file for future theming updates
mkdir -p "$CACHE_FOLDER"
echo "$IMAGE_PATH" > "$CACHE_FILE"
info "Cache updated: $IMAGE_PATH"

run_matugen
reload_waybar
reload_quickshell
Expand Down