Skip to main content

uses math to select wallpapers from Reddit

Project description

Imgurt is a wallpaper downloader which scores wallpapers and selects the best based on resolution, aspect ratio, and number of views. It remembers which wallpapers were selected previously so you never see the same image twice.

Install the systemd units to run the script every two hours.

Usage

python3 imgurt.py

Installation

  1. Install dependencies

    pip3 install requests

    Also install feh using your distribution’s package manager.

  2. Install systemd user unit (optional)

    • edit systemd/imgurt.service to point to imgurt.py

    • copy unit files

    # copy service files
    cp -u systemd/* ~/.config/systemd/user/
    
    # enable and start systemd timer
    systemctl --user enable imgurt.timer
    systemctl --user start imgurt.timer
    
    # the service can be triggered manually as well
    systemctl --user start imgurt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imgurt-1.2.post11.tar.gz (6.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page