Skip to main content

Randomly change wallpaper for given monitor(s) in hyprpaper.

Project description

Pyprpaper

Pyprpaper is a hyprpaper client, its main purpose is to change wallpapers randomly (for given set of monitors) from a given directory(ies).

Features

  • Randomly change wallpapers for given monitors.
  • Recursive image look-up in all directories.

Installation

You can install pyprpaper using pip:

pip install pyprpaper

It is also available in the AUR (pyprpaper) for the arch linux btw users:

# With yay
yay -S pyprpaper

The PKGBUILD and .SRCINFO files are at rofe33/pyprpaper-aur.

Usage

usage: pyprpaper [-h] -m monitor1 monitor2 [monitor1 monitor2 ...] [-s SOCKET_PATH] [-k] [-r]
                 [-f [additional file types ...]]
                 path/to/directories [path/to/directories ...]

A simple wallpaper changer.

positional arguments:
  path/to/directories   Path to directories containing the images.

options:
  -h, --help            show this help message and exit
  -m monitor1 monitor2 [monitor1 monitor2 ...], --monitors monitor1 monitor2 [monitor1 monitor2 ...]
                        Monitor(s) to change wallpapers on.
  -s SOCKET_PATH, --socket-path SOCKET_PATH
                        Override socket path.
  -k, --keep-wallpapers-loaded
                        Whether to keep wallpapers loaded in RAM or not.
  -r, --recursive       Whether to recursive get the images from the directories.
  -f [additional file types ...], --additional-file-types [additional file types ...]
                        Additional image file types.

All The Glory To Jesus God...

Example

Change wallpaper for all monitors in hyprland/hyprpaper set-up:

pyprpaper -m $(hyprctl -j monitors | jq -r '.[].name' | tr '\n' ' ') -- /path/to/wallpaper/directories

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

pyprpaper-0.2.2.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

pyprpaper-0.2.2-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file pyprpaper-0.2.2.tar.gz.

File metadata

  • Download URL: pyprpaper-0.2.2.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyprpaper-0.2.2.tar.gz
Algorithm Hash digest
SHA256 203b87dc863e8d11710893cae614f3f40d5517fa24729e14ba5f2f8241eadbd7
MD5 2c3c718698df359086b54a184131d6ed
BLAKE2b-256 7925a49630637d51474ec2b4decbc5881b741a7df30feead725cc4e6832968f3

See more details on using hashes here.

File details

Details for the file pyprpaper-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pyprpaper-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pyprpaper-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a3d2d3be95392ea983d65d20fcf9c446d058df90ac4cc64e614f596b289bd230
MD5 fd274a06a2d43dc0a78b8b7012e692b9
BLAKE2b-256 766e582cf5e4a40d68a518eeedb2e0f9ca7dfda04f3f7e6beacc51426f6938ea

See more details on using hashes here.

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