GitHub - The-Apiary/wp: creates color themes from an image

wp is a small tool I use to generate color schemes from images, and manage desktop wallpapers.

The color extraction scripts were taken from this blog post with normalization reddit user radiosilence.

Usage

Generates color files .[file].colors and .[file].Xres which can be sourced by shell scripts and xrdb respectivly. The color files and the image are added to the backgrounds directory.

Changes the background image to a random image from the ~/.wallpapers directory, or the file passed, and loads the .Xres file into xrdb so xterm or urxvt will use the colors. It also links a script to ~/.colors. If you source ~/.colors in a script you can use the generated colors with $COLOR0, $COLOR1, ...

Removes the image and it's color files from the backgrounds directory.

Lists the images in the backgrounds folder.