gtop icon indicating copy to clipboard operation
gtop copied to clipboard

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

Open michaelplews opened this issue 6 years ago • 1 comments

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 avatar Nov 06 '17 14:11 michaelplews

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 :)

schwukas avatar Dec 18 '18 13:12 schwukas