Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/okitavera/colorfil

Generate 16 color for Xresources colorscheme from one-color
https://github.com/okitavera/colorfil

bash color-scheme linux shell-script xdefaults xrdb xresources

Last synced: 25 days ago
JSON representation

Generate 16 color for Xresources colorscheme from one-color

Awesome Lists containing this project

README

        

# colorfil
Generate 16 color for Xresources colorscheme from one-color.

Using imagemagick as color calculation.

## Dependencies
* imagemagick - for color calculation
* sed

## Installation

Download the script :

wget https://github.com/yuune/colorfil/raw/master/colorfil
Make the script executable :

$ chmod +x colorfil

Then move it to somewhere in your $PATH (/usr/bin, /usr/local/bin, etc)

## Usage

$ colorfil -c [#hexcolor] [-o output_file]

Available options:

-c, --color [#HEXCOLOR] define your color in hex
-o, --outfile [FILE] send output to the file

if no -o or --outfile, the result is printed directly to stdout.

## Example

$ colorfil -c #ff8899

... or with `-o

$ colorfil -c #ff8899 -o ~/.Xresources-temp

## License

The code is available under the [MIT license](LICENSE.md).