-
Notifications
You must be signed in to change notification settings - Fork 10
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
Getting bg=default instead of displaying color #10
Comments
I am running tmux 2.3 with no issues - I haven't actually touch this code for a loooooong time. Does the coloring work when you paste the output directly to |
Closing, since this is more than 6 months old. Feel free to reopen. |
I have this in my tmux-top config:
Which, should yield in a "colorless" config, I assume.
But I would want this:
Without any default colors, as I want my tmux-conf to handle those. |
Fixes #10 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
looking at code, this is hardcoded: https://github.com/TomasTomecek/tmux-top/blob/master/display/display.go#L14 I can easily get rid of the part where formatting is reset. Should it be set to an empty string or removed completely? |
It would be cleaner to remove the I pulled your fix-10 branch, it works fine like that. My new tmux-conf:
(I thought, managing the font-colors in the config makes sense, as But, regarding memory, it sets the colors automatically (whereas the network does not). I want the background of Thanks 👍 |
You mean to remove the functionality which changes background based on amount of missing memory? This is the config tmux-top uses by default for memory: "mem": {
"intervals": [{
"to": "50%",
"bg_color": "default",
"fg_color": "colour10"
}, {
"from": "50%",
"to": "75%",
"bg_color": "default",
"fg_color": "green"
}, {
"from": "75%",
"to": "85%",
"bg_color": "default",
"fg_color": "colour166"
}, {
"from": "85%",
"to": "93%",
"bg_color": "default",
"fg_color": "colour1"
}, {
"from": "93%",
"to": "97%",
"bg_color": "colour166",
"fg_color": "white"
}, {
"from": "97%",
"bg_color": "colour1",
"fg_color": "white"
}],
"separator": "/",
"separator_bg": "default",
"separator_fg": "white",
"total_bg": "default",
"total_fg": "colour14"
}, You can change it as you wish. |
I have powerline9k theme; not sure if there's compatible
The text was updated successfully, but these errors were encountered: