https://github.com/trevorwang/macdailywallpapers
https://github.com/trevorwang/macdailywallpapers
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/trevorwang/macdailywallpapers
- Owner: trevorwang
- Created: 2015-04-21T12:26:48.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-03T08:08:45.000Z (almost 10 years ago)
- Last Synced: 2025-01-29T19:31:05.238Z (3 months ago)
- Language: Ruby
- Size: 168 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MacDailyWallpapers
## get wallpapers from bing.com home page* Clone this project with `git`
* `git submodule init && git submodule update`
* `rb-appscript` lib will be used for apply the settings to mac os. So you must install the lib first with the following commands.
```
cd rb-appscript && ruby extconf.rb && make && make install
```
* use `crontab -e` to edit the cron config file, add the following code, it will fetch the new picture from bing.com every day 12:00
```
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
0 12 * * * ruby /Users/mingwan/bin/daily_wallpapers.rb > /tmp/crontabxx.log
```