igorkulman / ChangeMenuBarColor

Simple utility to change macOS Big Sur and Monterey menu bar color by appending a solid color or gradient rectangle to a wallpaper image
MIT License
970 stars 37 forks source link

Support for multiple changing wallpapers #25

Open Marsellus19 opened 3 years ago

Marsellus19 commented 3 years ago

I don't believe it is a feature now. I have multiple wallpapers that change randomly every minute. It would be great if it was possible to give the utility a path to a wallpapers folder. This way it wouldn't be necessary to run the command for every wallpaper separately. And also if it is possible, the utility could then change the folder in system preferences to the newly created one with adjusted wallpapers. Although that can be easily done manually so it's not a must have.

igorkulman commented 3 years ago

Take a look at this https://github.com/igorkulman/ChangeMenuBarColor/issues/23#issuecomment-752723917

kedarabhyankar commented 3 years ago

Realistically, couldn't this be done with some sort of cron job that stores the current wallpaper path, checks it at some interval, and re-runs the script at the interval if the stored wallpaper path and the current wallpaper path are different?

That would effectively be the only way I could see this working without changing the core script too much.

igorkulman commented 3 years ago

If you take a look at the script output it tells you when the generated file was saved. So you can call the script on all the wallpapers you want to use and the go fetch the generated files and save them somewhere else to use.

j4r3kb commented 1 year ago

Honestly, I would just add the solid rectangle (with the preferred colour) to multiple files myself once and forget it, instead of using some fancy tool that overwrites the jpg files degrading the quality.