rconradharris / reddit-background

Set your Linux and Mac OS X desktop background to images pulled from Reddit
101 stars 17 forks source link

Update other spaces backgrounds #2

Open awendland opened 9 years ago

awendland commented 9 years ago

Currently when I run reddit-background only the background of my current desktop/space is updated. I would love to be able to have all my spaces' backgrounds updated to the photo.

rconradharris commented 9 years ago

I would love to be able to add support for this, but haven't found a way yet.

Manipulating a physical desktop (e.g. monitor) is pretty easy in AppleScript, but I haven't found an easy way yet of querying and manipulating the virtual desktops (Spaces) yet.

I've seen a few pretty nasty hacks that might do it, but haven't tried them out yet.

If you can point me to some AppleScript that lets me query how many spaces we have, and then sets a background for a particular space, I would be happy to add this feature!

awendland commented 9 years ago

I looked extensively into the problem as well. I haven't been able to find an AppleScript that will properly update them. Too bad :/

awendland commented 9 years ago

I've modified this project to integrate into OSX's folder-based background rotation https://github.com/awendland/reddit-wallpaper