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

Displaying username on dark terminals #9

Open
pronobis opened this issue Mar 7, 2017 · 8 comments · May be fixed by #127
Open

Displaying username on dark terminals #9

pronobis opened this issue Mar 7, 2017 · 8 comments · May be fixed by #127

Comments

@pronobis
Copy link

pronobis commented Mar 7, 2017

Currently, black color is used to display the username. This makes it impossible to see anything on dark terminals. Any chance, a different color (other than black or white) can be used?

@wookayin
Copy link
Owner

wookayin commented Mar 7, 2017

I am also using dark terminals and it is pretty recognizable. How about adjusting your ANSI colors for Black-Bright ( ANSIColors.GRAY)?

BTW, it'd better to have a configuration point without having modify the code for customization, but I am wondering how I can achieve it. Do you have any suggestions?

@pronobis
Copy link
Author

pronobis commented Mar 7, 2017

Maybe a config file ~/.gpustat ?

@Rizhiy
Copy link

Rizhiy commented Jan 14, 2018

+1, I think users should be allowed to set their own colors for each part since there some kind of configuration will always clash.

@wookayin On my machine gpustat uses *color0 for the user which is standard black, I guess it is a problem with blessings not working properly on urxvt.

@wookayin
Copy link
Owner

wookayin commented Apr 1, 2018

Hi @Rizhiy, would a new color term code introduced in 8d3f917 work on urxvt?

UPD: See #34

@wookayin
Copy link
Owner

wookayin commented Apr 1, 2018

For configuration of color codes, it might be a good idea to play with $XDG_CONFIG/gpustat (i.e. ~/.config/gpustat/), yet no plan to add this very soon.

@wookayin
Copy link
Owner

Will be discussed in #51

@bryant1410
Copy link

I was also having the same problem with Guake until I enabled an option called "Bold text is also bright (VTE >=0.52)".

@yueyericardo
Copy link

image

A dirty work around:

At this line https://github.com/wookayin/gpustat/blob/master/gpustat/core.py#L217
change term.bold_black to term.bold_gray

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

Successfully merging a pull request may close this issue.

5 participants