Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/okitavera/colorfil
- Owner: okitavera
- License: mit
- Created: 2018-02-21T13:15:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-24T18:21:07.000Z (almost 7 years ago)
- Last Synced: 2024-05-18T22:12:07.135Z (7 months ago)
- Topics: bash, color-scheme, linux, shell-script, xdefaults, xrdb, xresources
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-linux-customization - **colorfil** - Generate 16 color for Xresources colorscheme from one-color. (Tweaks)
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).