Skip to main content

Wallcrop

header

Wallcrop is a simple tool for cropping an image into smaller images for use as individual desktop wallpapers in a multi-monitor setup.

It can either arrange by size in pixels, or by the actual size of the monitors in cm.

Installation:

The easiest way to install would be using pip in a virtual environment:

python -m venv venv
source venv/bin/activate
pip install wallcrop

Usage

In order to crop up some images you need to let wallcrop know about your monitor setup. This is done in a yaml file, here called monitors.yml, an example for this file can be found in examples/monitors.yml.

The monitors.yml contains a list of monitors, each with a name, height and width of the monitor (if your monitor is vertical just swap these) and x and y position of the top left corner of the monitor in pixels. If you want to use the actual-monitor-size option (arranging not by the size in pixels, but the actual size of the screens in cm) you need to additionally add values for x_cm, y_cm, width_cm and height_cm for each monitor. Gaps between monitors should be accounted for in x_cm and y_cm.

To crop all images in a folder use

wallcrop -m path/to/your/monitors.yml path/to/your/images/*

For more options see

wallcrop -h

wallswitch

as a treat, there also is wallswitch for setting the wallpapers following the wallcrop structure. this currently only supports swww and hyprpaper (using preloadhyprctl hyprpaper for IPC) as wallpaper daemons and only works if the names of the monitors in the monitors.yml correspond to the names of the outputs

creating the monitors file on Hyprland

There is also an experimental tool for automatically creating a monitors.yml from your hyprland config, see

wallcrop_create_monitors -h

for more info

Metadata

Release files for wallcrop 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wallcrop 0.0.6
File Size Uploaded Provenance Actions
wallcrop-0.0.6.tar.gz 43.4 kB Without provenance Details for wallcrop-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wallcrop 0.0.6
File Interpreter ABI Platform Actions
wallcrop-0.0.6-py3-none-any.whl Python 3 none any Details for wallcrop-0.0.6-py3-none-any.whl

Total release size: 75.0 kB

Release files / wallcrop-0.0.6.tar.gz

Download URL wallcrop-0.0.6.tar.gz
Size 43.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3fc66ca58080b2cc781431dd0be3a9a3b63a0ad95f3e9614e2b768f01bd5a766
BLAKE2b-256 checksum
How to use checksums
1a99a577d74156f9d8920c4a6a47f2fef0dd6fde6deb7719587115fec258e6ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / wallcrop-0.0.6-py3-none-any.whl

Download URL wallcrop-0.0.6-py3-none-any.whl
Size 31.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e92c42670033680380b4223cfe3833ab7627c026ae0a538888757faccfa27cfa
BLAKE2b-256 checksum
How to use checksums
a9a5b5b9faf68b5774b8b1485151cb47a849e7f00183ab673116922ad7fa42e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Security for wallcrop 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page