| Crates.io | wallpaper-switcher |
| lib.rs | wallpaper-switcher |
| version | 1.2.0 |
| created_at | 2025-05-15 10:11:47.48873+00 |
| updated_at | 2025-05-15 12:29:35.943513+00 |
| description | Hyprland wallpaper-switcher |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1674772 |
| size | 26,434 |
A Rust-based wallpaper switcher for Hyprland, with automatic orientation detection, rotation tracking, and blurred lock screen background generation.
hyprctlswaylock-effects~/.cache/Your wallpapers should be stored in:
~/Pictures/Wallpapers/
├── nature1.jpg
├── anime_vertical.webp
└── urban_landscape.png
Orientation is auto-detected via image dimensions (not by subfolder).
Make sure the following are installed and in your $PATH:
hyprctlimagemagick (magick CLI for blur overlays)identify](part of imagemagick) for resolution detectionwalkdir](Rust dependency; bundled)Optional for lock screen integration:
swaylock-effectsBuild the binary:
cargo build --release
Run the app:
./target/release/wallpaper-switcher
It will:
~/Pictures/Wallpapershyprctl hyprpaper/tmp/hyprlock/<monitor>.pngbind = $mod, W, exec, ~/dev/wallpaper-switcher/target/release/wallpaper-switcher
To use the blurred wallpapers with swaylock-effects, configure it like:
swaylock -i /tmp/hyprlock/DP-1.png
Each monitor will have a unique file based on its name.
Rotation index is stored in:
~/.cache/hyprpaper_index_landscape
~/.cache/hyprpaper_index_portrait
These track your progress through each list and reset automatically when exhausted.
MIT