In system settings, beneath Wallpaper, there’s a new toggle choice to “Present on all Areas”. I am searching for a method to set this selection through shell in terminal since when a brand new wallpaper is about the change toggles again to false.
I’ve tried diffing defaults earlier than and after toggling the change to see if there may be some setting I’ve entry to there, however no luck. Additionally trying into osascript and I’m able to set the desktop image there, however I have never discovered a method to toggle that setting from osascript.
Edit: this is one method to do it, however it’s lower than best. I might like to have the ability to set it with out launching the applying!
inform utility "System Occasions"
inform utility "System Settings"
activate
finish inform
delay 0.5
inform course of "System Settings"
delay 0.5
click on menu merchandise "Wallpaper" of menu "View" of menu bar 1
delay 0.5
click on checkbox "Present on all Areas" of group 2 of scroll space 1 of group 1 of group 2 of splitter group 1 of group 1 of window "Wallpaper"
finish inform
delay 0.5
inform utility "System Settings"
stop
finish inform
finish inform