项目作者: kupiakos

项目描述 :
Download Reddit pictures and set them as the desktop background
高级语言: Python
项目地址: git://github.com/kupiakos/reddit-backgrounds.git
创建时间: 2017-01-24T17:20:52Z
项目社区:https://github.com/kupiakos/reddit-backgrounds

开源协议:Do What The F*ck You Want To Public License

下载


Reddit Background Downloader

Defaults to downloading from /r/EarthPorn.

Designed for Ubuntu 16.04.
Currently supports GNOME, Unity, and MATE on Linux.

Plasma Desktop, Windows, and possibly macOS support planned.

If you’re running on Ubuntu 16.04, first install the system dependencies:

  1. $ sudo apt install python3-gi gir1.2-glib-2.0 gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-appindicator3-0.1

Then, optionally create a virtual environment to run in, and install pip dependencies:

  1. $ virtualenv -p python3 --prompt '(reddit-backgrounds) ' venv
  2. $ source venv/bin/activate
  3. (reddit-backgrounds) $ pip install -r requirements.txt

Now, the program can be run:

  1. $ ./reddit-backgrounds.py