Closed Rastafabisch closed 4 years ago
Wow, that was fast! Kudos.
I guess this is not working anymore in Sonoma? It always prints Using currently set macOS wallpaper file:///System/Library/CoreServices/DefaultDesktop.heic
, but my defined wallpaper is not that.
If no path is given it would be great, if your tool would default to the current wallpaper path.
This could be obtained with a small query using sqlite:
sqlite3 -readonly ~/Library/Application\ Support/Dock/desktoppicture.db \ 'SELECT * FROM data ORDER BY rowID DESC LIMIT 1;'
Additionally the new file could also be written to this path, so it would be automatically applied.