In system settings, underneath Wallpaper, there’s a new toggle choice to “Present on all Areas”. I am searching for a strategy to set this selection by way of shell in terminal since when a brand new wallpaper is about the swap toggles again to false.
I’ve tried diffing defaults earlier than and after toggling the swap to see if there’s some setting I’ve entry to there, however no luck. Additionally wanting into osascript and I’m able to set the desktop image there, however I have never discovered a strategy to toggle that setting from osascript.
Edit: this is one strategy to do it, however it’s lower than excellent. I would like to have the ability to set it with out launching the appliance!
inform software "System Occasions"
inform software "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 software "System Settings"
give up
finish inform
finish inform