Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/homeworkprod/wpr
Wallpaper Randomizer
https://github.com/homeworkprod/wpr
rust-lang rustlang wallpaper-changer wallpaper-randomizer
Last synced: 26 days ago
JSON representation
Wallpaper Randomizer
- Host: GitHub
- URL: https://github.com/homeworkprod/wpr
- Owner: homeworkprod
- License: mit
- Created: 2020-10-16T18:38:29.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-07T12:57:08.000Z (over 2 years ago)
- Last Synced: 2024-09-29T21:01:18.890Z (about 1 month ago)
- Topics: rust-lang, rustlang, wallpaper-changer, wallpaper-randomizer
- Language: Rust
- Homepage: https://homework.nwsnet.de/releases/c2fd/#wallpaper-randomizer
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Wallpaper Randomizer
Sets a wallpaper (using the [*feh* image
viewer](https://feh.finalrewind.org/)) randomly chosen from a directory.## Background
Since I like to change my wallpaper on the tap of a button and flip
through my collection until I find one that I feel comfortable with for
the moment (depending on time of day, lighting conditions, atmosphere,
mood, etc.), I ported my Python script to Rust to avoid booting up the
Python interpreter for each call.## Usage
Just point it to a directory that contains images:
```sh
$ wpr ~/Wallpapers
```- Considered image file extensions (case-insensitively) are "gif",
"jpeg", "jpg", and "png".
- Sub-directories are not considered. This is so images can be moved
into a sub-directory to exclude them from the random selection for the
time being (in case you've seen them a bit too often recently) but
still keep them nearby of the other wallpapers.## License
Wallpaper Randomizer is licensed under the MIT license.