summaryrefslogtreecommitdiffstats
path: root/colorschemes
diff options
context:
space:
mode:
authorCaleb Bassi <calebjbassi@gmail.com>2018-02-27 13:25:08 -0800
committerCaleb Bassi <calebjbassi@gmail.com>2018-02-27 13:25:08 -0800
commit5a765512199ed7f5af011cc72354abe34a6e6473 (patch)
treea6dc684eb64145721f24241539a5467f91df9109 /colorschemes
parent44a6eebae917062a33aef1b93fbe0068531ff08a (diff)
Changed color order in colorschemes
Diffstat (limited to 'colorschemes')
-rw-r--r--colorschemes/default.go2
-rw-r--r--colorschemes/monokai.go2
-rw-r--r--colorschemes/solarized.go2
-rw-r--r--colorschemes/template.go9
4 files changed, 9 insertions, 6 deletions
diff --git a/colorschemes/default.go b/colorschemes/default.go
index 72cebe9..48db2d3 100644
--- a/colorschemes/default.go
+++ b/colorschemes/default.go
@@ -7,7 +7,7 @@ var Default = Colorscheme{
BorderLabel: 7,
BorderLine: 6,
- CPULines: []int{1, 2, 3, 4, 5, 6, 7, 8},
+ CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},
MainMem: 5,
SwapMem: 11,
diff --git a/colorschemes/monokai.go b/colorschemes/monokai.go
index ae649d1..b3dbc23 100644
--- a/colorschemes/monokai.go
+++ b/colorschemes/monokai.go
@@ -7,7 +7,7 @@ var Monokai = Colorscheme{
BorderLabel: 249,
BorderLine: 239,
- CPULines: []int{197, 208, 70, 81, 249, 141, 221, 186},
+ CPULines: []int{81, 70, 208, 197, 249, 141, 221, 186},
MainMem: 208,
SwapMem: 186,
diff --git a/colorschemes/solarized.go b/colorschemes/solarized.go
index c4c5650..2ead4df 100644
--- a/colorschemes/solarized.go
+++ b/colorschemes/solarized.go
@@ -7,7 +7,7 @@ var Solarized = Colorscheme{
BorderLabel: 250,
BorderLine: 37,
- CPULines: []int{64, 37, 33, 61, 125, 160, 166, 136},
+ CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},
MainMem: 125,
SwapMem: 166,
diff --git a/colorschemes/template.go b/colorschemes/template.go
index a117e95..8d65a70 100644
--- a/colorschemes/template.go
+++ b/colorschemes/template.go
@@ -1,12 +1,15 @@
package colorschemes
/*
- the standard 256 terminal colors are supported
+ The standard 256 terminal colors are supported.
-1 = clear
- 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'
+ 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'.
+
+ Once you've created a colorscheme, add an entry for it in the `handleColorscheme` function
+ in `gotop.go`.
*/
// Ignore this