# 500px-osx-background
Easily set your Mac background to a random image on 500px website
### Description ###
This script allows you to dynamically change your macOS background, taking images from [500px](https://500px.com).
### Installation ###
1. Clone the repository:
```
git clone https://github.com/auino/500px-osx-background.git
```
2. Configure the script, by opening it and setting configuration data as preferred
3. Optionally, you can test the correct working of the script, by opening the Terminal app and running the following command:
```
sh 500px-osx-background.sh
```
4. Put the script on your crontab, by opening the Terminal app and running the following command:
```
crontab -e
```
5. Now you have to append the following line (press `i` button to insert data):
```
00 12 * * * sh /directory_path/500px-osx-background.sh
```
where `/directory_path/` identifies the path of the directory containing the script (to be configured as value of the `$DIR` directory on the script), while `00 12` specifies the program has to be called every day at noon.
6. Hit `:q` to close, saving the file
7. Enjoy!
### Notes ###
In order to immediately set the new background, the `Dock` program has to be killed.
If you don't want to kill it, you can comment the relative line on the script.
It's also available a [Reddit version](https://github.com/auino/reddit-macos-background) of this program, with support to [Gnome](https://www.gnome.org) based Linux systems.
### External contributions ###
* Thanks to [theiwaz](https://github.com/theiwaz) for his suggestions on multi monitor support
* Thanks to [miladkdz](https://github.com/miladkdz) for his suggestions on macOS Sierra support
* Thanks to [vitovalov](https://github.com/vitovalov) for his better implementation of the background change procedures
* Thanks to [ctissier](https://github.com/ctissier) for the randomization trick to solve macOS cache issues
* Thanks to [duongvu89](https://github.com/duongvu89) for the provided bug fixes
* Thanks to [stefanskotte](https://github.com/stefanskotte) for the provided bug fix
### Contacts ###
You can find me on Twitter as [@auino](https://twitter.com/auino).
以编程方式将Mac背景设置为500px上的随机图像_Shell_下载.zip
版权申诉
159 浏览量
2023-05-02
23:40:43
上传
评论
收藏 10KB ZIP 举报
![avatar](https://profile-avatar.csdnimg.cn/default.jpg!1)
![avatar-vip](https://csdnimg.cn/release/downloadcmsfe/public/img/user-vip.1c89f3c5.png)
快撑死的鱼
- 粉丝: 1w+
- 资源: 9152
最新资源
- iToon 是一款创新的图像编辑软件,专注于将照片转化为卡通和动漫风格的图像
- haproxy-3.1 for windows 64位 不支持ssl
- haproxy-3.1 for windows 64位 支持ssl
- Gillmeister Rename Expert 是一款功能强大且灵活的文件重命名工具
- Node.js - Mastering Node.js
- EssentialPIM Pro Business 是一款专业的个人信息管理 (PIM) 工具
- 《云计算技术》复习大纲.zip
- DbVisualizer Pro 是一款功能强大、用户友好的数据库管理工具,适用于各种数据库开发人员和数据库管理员
- 纯CSS仿动态flash广告效果(可通过css随时修改底图,文字动画,颜色蒙版等,非常优于表现和易于修改)
- DetoursPro3.0 x86x64
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback](https://img-home.csdnimg.cn/images/20220527035711.png)
![feedback-tip](https://img-home.csdnimg.cn/images/20220527035111.png)