-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable automatic changing of wallpaper image #24
Comments
What's the point of setting it to a directory if you don't want it to change automatically? |
I have a manual script setup that runs periodically to change the wallpaper in response to system events. I'd rather not have it change randomly on me via the OS. |
There's no macOS API to control this behavior. It's just happens when we pass a directory as wallpaper.
One solution could be to programmatically change that system preference after setting the directory as wallpaper. The setting might also be stored in the wallpaper database, not sure, which we do have access to: macos-wallpaper/Sources/wallpaper/Wallpaper.swift Lines 41 to 57 in c226380
|
HI, cool tool! Thanks much! |
When I set my wallpaper using
wallpaper
to a directory instead of an image (e.g.wallpaper set ~/.trunk/wallpaper/desktop
), it automatically checks the "Change picture every X minutes" checkbox. This does not happen when I set the wallpaper to a specific file (e.g.wallpaper set ~/.trunk/wallpaper/desktop/foggy-trees.jpg
). Is this an Apple-imposed limitation? Or could there be a CLI flag that allows me to disable that functionality?The text was updated successfully, but these errors were encountered: