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

-disable-bg in ~/.config/glances.conf #3113

Closed
alexander-potemkin opened this issue Feb 20, 2025 · 2 comments
Closed

-disable-bg in ~/.config/glances.conf #3113

alexander-potemkin opened this issue Feb 20, 2025 · 2 comments

Comments

@alexander-potemkin
Copy link

It's quite complicated to see background highlight on dark theme terminal, so I'm starting glances with -disable-bg command line option.

But I would like to have that as a permanent setting, so instead of echo "alias glances='glances --disable-bg'" >> ~/.bashrc I would rather do mkdir -p ~/.config && echo -e "[global]\ndisable-bg=true" > ~/.config/glances.conf.

And thank you for a wonderful software!

@nicolargo
Copy link
Owner

Hi @alexander-potemkin !

Ok to implement the configuration tag in [outputs] / disable-bg=true in the Glances configuration file.

Nevertheless, can you copy/paste a screenshot of your system with the background option enable to identify the possible improvment regarding the color. On my side, the TUI is not complicated to see:

Image

@nicolargo
Copy link
Owner

Merged into develop.

Will be release in next milestone version.

Ex:

[outputs]
# Specifics options for TUI
#--------------------------
# Disable background color
disable_bg=True

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

No branches or pull requests

2 participants