gpustat
gpustat copied to clipboard
Displaying username on dark terminals
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?
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?
Maybe a config file ~/.gpustat
?
+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
.
Hi @Rizhiy, would a new color term code introduced in 8d3f917d6 work on urxvt?
UPD: See #34
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.
Will be discussed in #51
I was also having the same problem with Guake until I enabled an option called "Bold text is also bright (VTE >=0.52)".
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