Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SeungheonOh/ColTerm
https://github.com/SeungheonOh/ColTerm
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/SeungheonOh/ColTerm
- Owner: SeungheonOh
- Created: 2019-09-20T01:17:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T13:24:52.000Z (over 5 years ago)
- Last Synced: 2024-08-01T19:41:47.186Z (5 months ago)
- Language: Go
- Size: 278 KB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - SeungheonOh/ColTerm - (Go)
README
# ColTerm
Simper, more Unix-philosophical implementation of auto colorscheme generator. It gets Image as an input, gives you a well generated color scheme.## Things
![ColTerm](https://github.com/SeungheonOh/ColTerm/blob/master/img/colterm.jpg)Well, as you notice, it's really similar to [pywal](https://github.com/dylanaraps/pywal). Unlike pywal, colterm is designed make a colorscheme only,
but not to manage whole wallpaper system, therefore it's a lot simpler. You might ask, then why should I use it? I would say colterm would work best for those of you
who would save your colorschemes by a image instead of having not really clean or commented clusters of colorschemes in you config files. You can just
save a file with bunch of image links that you like, and use colterm to got a colorscheme without any dirty work of copying/finding/uncommenting
colorschemes.It supports only Xresources. However, you can input a ```Tamplate``` for your config with placesholders (like ```background``` or ```color1```) to generate any kinds of configs.
## Requirements
Nope, only Go standard libraries (I wrote the coloring algorithm by myself, compactly). You need ```xrdb``` to set Xresources however.## Installation
`go get github.com/SeungheonOh/colterm`Make sure you have your `GOPATH` set, e.g. in your `.bashrc`:
```bash
export GOPATH=/home/$USER/go
export PATH=$PATH:$GOPATH/bin
```## Usage
```
USAGE:
colterm
OPTIONS:
-bg int
Set background brightness(0 - 255) (default 20)
-e string
Export file to (Path)
-f string
Input file, use this option or put file behind the options
-fg int
Set foreground brightness(0 - 255) (default 150)
-n bool
Print colors only without applying to Xresources
-t string
Create color scheme with a given tamplate file, created file will saved in your home directory
```