Pi66

>Walrs

A fast, lightweight color scheme generator written in Rust.

Walrs extracts colors from an image and applies them across your desktop, providing a workflow similar to Pywal while focusing on speed, simplicity, and accurate color generation.

>Features

>Usage

>Generate colors from an image

walrs -i ~/Pictures/wallpaper.png

>Generate and save a theme

walrs -g my-theme -i wallpaper.png

>Apply a saved theme

walrs -t my-theme

>Reload templates

walrs --reload

>Command Line Options

Option Description
-i Generate a color scheme from an image.
-r, --reload Reload templates and set the wallpaper.
-R, --Reload Reload templates without changing the wallpaper.
-t, --theme Load a saved theme.
-g, --generate Generate and save a theme.
-s, --saturation Set saturation (-128 to 127).
-b, --brightness Set brightness (-128 to 127).
-q, --quit Suppress terminal output.
--install-completions Install shell completions.
-h, --help Show the help message.
-V, --version Show the current version.

>Installation

>AUR

yay -S walrs

>Build from source

git clone https://github.com/pixel2175/walrs
cd walrs
make install

>Performance

Metric Value
Memory Usage ~3 MB
Processing Time ~290 ms for a 1080p (1.5 MB) image
Language Rust
Dependencies Wallpaper setter (feh, swww, xwallpaper, etc.)

>Example Output

[I] Generate: generating colors...
[I] Template: rendering templates...
[I] Wallpaper: wallpaper applied.
[I] Terminal: colors updated.
[I] Xrdb: database updated.
[I] Colors: completed successfully.

>Benchmark

Executed in 376.01 ms

User:   236.90 ms
System: 132.21 ms