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

Feature Request: Allow for .gtoprc or similar to specify terminal colours #62

Open
michaelplews opened this issue Nov 6, 2017 · 1 comment
Labels

Comments

@michaelplews
Copy link

michaelplews commented Nov 6, 2017

Environment

  • OS: Ubuntu 16.04
  • Node version: v4.8.5
  • gtop version: 0.1.5

Description

Due to my terminal colour scheme, the default colour options are leaving me with blank areas.

gtop

It would be great if we could customize our colours with hex codes or similar in a config file, defaulting to the current colours if the config file is not present. This could also be used to specify command line flags once #16 is merged.

@michaelplews michaelplews changed the title Feature Request: Allow for .gtoprc pr similar to specify terminal colours Feature Request: Allow for .gtoprc or similar to specify terminal colours Nov 6, 2017
@schwukas
Copy link

schwukas commented Dec 18, 2018

I would very much appreciate that as well.

In the meantime you can just replace the color names in lib/utils.js with a value between 0 and 255.
If you want even more control, change the colors in the respective file (e.g. lib/monitor/mem.js) to adjust every color displayed independent from each other.
Have at look at this color chart as well.

If you need any more help with this, just tell me :)

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

No branches or pull requests

3 participants