-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Dark background color #11
Comments
One tip, in order to change colors you could alias the wttr.in command on your .bashrc or .zshrc like the following: alias weather='curl wttr.in/YOUR_CITY | sed -e "s:226m:202m:g"' where 226m is the yellow color code on 256 colors terminals which is changed with a more readable orange (202m). the complete list of colors could be reached here update: _weather() {
tmpfile=$(mktemp)
curl -s wttr.in/$1 > $tmpfile
cat $tmpfile | sed -e 's:226m:202m:g'
rm $tmpfile
}
alias weather='_weather' and I use this: $ weather CITY |
You can reduce it to this: _weather() { |
@m0veax No, not really! What you did is what the first alias from @alex179ohm already does — pipe |
I also use a light terminal theme so I created a shell script to solve this issue.
|
The ANSI escape sequences to set a dark background could be simply sent along with the rest of the text, just like the rest of the color escapes. |
@book The issue not about background color per se, the point is to preare a new color scheme, that will good work with the new background |
In case anybody simply wants to remove color entirely, I do that with |
@C4K3 Just use ?T it should work. Does it work for you? |
@chubin It does, awesome, I didn't know about that option. |
@chubin Hi, Sorry to ping on this, but could you make min temperature blue color just a little bit brighter, please? It's so cold here, I can barely distinguish the digits at the low end. I'm using Konsole with slightly customized Arc Dark theme, its background color is solid |
I made this utility a while ago primarily to deal with that problem. https://github.com/Layerex/term-invert-colors |
@Layerex It is a cool tool. Maybe it we should integrate it on the server side |
@chubin would be cool. But, I guess, fine-tuning original colorscheme without full inversion would be much better. For example, making sun orange or red and darkening other colors would fix the problem of readability without significantly altering colors. |
@Layerex I agree. I believe we should just create color schemes, and make it possible for the uses to add their own color schemes + select the current color scheme |
Why not use a proxy to invert the colors? |
What proxy do you mean? It would be really a good feature, to be able to specify the color scheme on the server side, |
One that doesn't exist yet. |
@chubin https://ansi-invert-proxy.9pfs.repl.co/https:/wttr.in/ |
Any chance of explicitly setting background color of output to dark background color? Visuals can be unreadable on light terminal themes.
The text was updated successfully, but these errors were encountered: