mirror of https://github.com/cjbassi/gotop.git
Changed color order in colorschemes
This commit is contained in:
parent
44a6eebae9
commit
5a76551219
|
@ -7,7 +7,7 @@ var Default = Colorscheme{
|
||||||
BorderLabel: 7,
|
BorderLabel: 7,
|
||||||
BorderLine: 6,
|
BorderLine: 6,
|
||||||
|
|
||||||
CPULines: []int{1, 2, 3, 4, 5, 6, 7, 8},
|
CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},
|
||||||
|
|
||||||
MainMem: 5,
|
MainMem: 5,
|
||||||
SwapMem: 11,
|
SwapMem: 11,
|
||||||
|
|
|
@ -7,7 +7,7 @@ var Monokai = Colorscheme{
|
||||||
BorderLabel: 249,
|
BorderLabel: 249,
|
||||||
BorderLine: 239,
|
BorderLine: 239,
|
||||||
|
|
||||||
CPULines: []int{197, 208, 70, 81, 249, 141, 221, 186},
|
CPULines: []int{81, 70, 208, 197, 249, 141, 221, 186},
|
||||||
|
|
||||||
MainMem: 208,
|
MainMem: 208,
|
||||||
SwapMem: 186,
|
SwapMem: 186,
|
||||||
|
|
|
@ -7,7 +7,7 @@ var Solarized = Colorscheme{
|
||||||
BorderLabel: 250,
|
BorderLabel: 250,
|
||||||
BorderLine: 37,
|
BorderLine: 37,
|
||||||
|
|
||||||
CPULines: []int{64, 37, 33, 61, 125, 160, 166, 136},
|
CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},
|
||||||
|
|
||||||
MainMem: 125,
|
MainMem: 125,
|
||||||
SwapMem: 166,
|
SwapMem: 166,
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
package colorschemes
|
package colorschemes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
the standard 256 terminal colors are supported
|
The standard 256 terminal colors are supported.
|
||||||
|
|
||||||
-1 = clear
|
-1 = clear
|
||||||
|
|
||||||
You can combine a color with Bold, Underline, or Reverse by using bitwise OR ('|').
|
You can combine a color with 'Bold', 'Underline', or 'Reverse' by using bitwise OR ('|').
|
||||||
For example, to get Bold red Labels, you would do 'Labels: 2 | Bold'
|
For example, to get Bold red Labels, you would do 'Labels: 2 | Bold'.
|
||||||
|
|
||||||
|
Once you've created a colorscheme, add an entry for it in the `handleColorscheme` function
|
||||||
|
in `gotop.go`.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Ignore this
|
// Ignore this
|
||||||
|
|
Loading…
Reference in New Issue