Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment configuration option to set terminal background color #4

Closed
igorshubovych opened this issue May 6, 2015 · 5 comments · Fixed by #27
Closed

Add environment configuration option to set terminal background color #4

igorshubovych opened this issue May 6, 2015 · 5 comments · Fixed by #27

Comments

@igorshubovych
Copy link

I use dark terminal. It is a pain to write every time --bg "dark".
It should be simple to read some environment variable (or any other type of global configuration file, e.g. ~/.ccat file) and define it globally. Then command line argument can just overwrite the global configuration, if present.

P.S. I want to add that light scheme looks ok on dark terminal, but i use dark terminal with transparency and only then it is unreadable. As it is unreadable for small portion of users, i do not think it is critical.

@owenthereal
Copy link
Owner

👍 I plan to support this!

@owenthereal
Copy link
Owner

@igorshubovych The color scheme is not optimized. Feel free to help improve this. I also plan to make the color scheme customizable so that you could define yours. I pre-populate a bunch of color codes here.

@owenthereal
Copy link
Owner

Actually just another thought. How about alias ccat="ccat --bg=dark"?

@igorshubovych
Copy link
Author

Good idea

@owenthereal
Copy link
Owner

@igorshubovych I made a PR to provide options to set color values: #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants