markubiak / wallpaper-reddit

Downloads and sets wallpapers pulled from reddit.com
GNU General Public License v3.0
113 stars 42 forks source link

Make --startup flag to run the script at startup #21

Closed lalo2302 closed 7 years ago

lalo2302 commented 8 years ago

I think it would be cool to only run the program once, and so every time you start the computer you will have a new wallpaper

markubiak commented 8 years ago

I'm sorry, I'm not quite sure what you're asking here. The --startup flag does, in fact, run the program in a mode designed for the start of a computer. It waits until a network connection is established, and then runs the script as normal. I personally have an entry in ~/.config/autostart for the script, and so every time I log into my computer I get a new wallpaper.

lalo2302 commented 8 years ago

I was thinking that the flag could put the entry so it can autostart without doing something else

markubiak commented 8 years ago

I like this, and I can certainly do it for Linux. I do not think that the default --startup flag should create the autostart file though, maybe create a new flag "--auto-startup"?

lalo2302 commented 8 years ago

That sounds awesome!

markubiak commented 8 years ago

I've added a Linux flag for this, latest commit is in dev branch. About to work on a Windows equivalent. Is adding Mac support for this a possibility?

lalo2302 commented 8 years ago

I think so, I will work on it

markubiak commented 8 years ago

Any updates on the OSX autostart?

lalo2302 commented 8 years ago

No sorry, but maybe in two weeks I'll have it

markubiak commented 7 years ago

I'm going to move forward with --auto-startup as a GNU/Linux only feature. If you'd like to work on a Mac OS X equivalent I'll leave the issue open, otherwise I will close it.