Skip to content
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

Brew Package #14

Open
cpb8010 opened this issue Dec 7, 2017 · 8 comments
Open

Brew Package #14

cpb8010 opened this issue Dec 7, 2017 · 8 comments

Comments

@cpb8010
Copy link

cpb8010 commented Dec 7, 2017

Have you thought about publishing this as a homebrew package for even easier install and updates?

Would you mind if someone else did?

@thejandroman
Copy link
Owner

@cpb8010, though I hadn't considered it I'm sure if you find value in it others will as well. Go for it! 😁

@nyarasha
Copy link

That would be awesome! @cpb8010 did you end up making a homebrew package? If not, I might go ahead

@cpb8010
Copy link
Author

cpb8010 commented Dec 27, 2018 via email

@nyarasha
Copy link

Okay, I took a first pass at trying to make a brew tap and package - README and tap is up here: https://github.com/nyarasha/homebrew-bing-wallpaper

Not sure how to assign myself this issue or whether someone else wants to take it up, but it's at least started.

What else do we want the installer to do, other than installing the files on the user's computer in a folder? Deal with the plist?

@cpb8010
Copy link
Author

cpb8010 commented Dec 27, 2018

I added mine to cron and have it run hourly, but maybe that's too much as a default.
cpb8010@8a1bf05

@hourly /Users/username/Code/bing-wallpaper/bing-wallpaper.sh -w >/dev/null 2>&1

@nyarasha
Copy link

Yeah, I was trying to figure out how to make that user-settable or opt-in; mine runs every 10 hours via a .plist file (on Mac OSX). Any suggestions?

@cpb8010
Copy link
Author

cpb8010 commented Dec 27, 2018

I don't know homebrew enough to find any good examples of user input, so I'd just set a default and log some directions for manual changes.

@laggardkernel
Copy link

laggardkernel commented Sep 10, 2019

Here's the formula you want with a service, https://github.com/laggardkernel/homebrew-tap. Cause the author of this project doesn't do a regular release, only installation from HEAD is available.

brew install --HEAD laggardkernel/tap/bing-wallpaper

The formula installs the script as bing-wallpaper, and a service could be enable to download pictures, and set them as wallpaper every 4 hours.

brew services start bing-wallpaper

AFAIK, there's no way to let user configure the service .plist with command brew, if you wanna change the download location or do other customizations. Modify the homebrew.mxcl.bing-wallpaper.plist directly after the service is added, then restart the service to make it take effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants