summaryrefslogtreecommitdiffstats
path: root/colorschemes
diff options
context:
space:
mode:
authorSean E. Russell <seanerussell@gmail.com>2018-12-26 22:06:55 -0600
committerSean E. Russell <seanerussell@gmail.com>2018-12-26 23:15:44 -0600
commit5ee4b4a978f3b27513b680fe3297cb7bea7bcb1e (patch)
tree126eac7115a40328d3446def6f4a7afb0b46305e /colorschemes
parent7b77956fee4cd22b36fe5ba63a2aefa0304d567b (diff)
Adds battery support
Cleans up mod file; adds flag for battery. Adds documentation; fixes missing color sets for battery.
Diffstat (limited to 'colorschemes')
-rw-r--r--colorschemes/default.go2
-rw-r--r--colorschemes/default.json2
-rw-r--r--colorschemes/default_dark.go2
-rw-r--r--colorschemes/monokai.go2
-rw-r--r--colorschemes/solarized.go2
-rw-r--r--colorschemes/template.go2
6 files changed, 12 insertions, 0 deletions
diff --git a/colorschemes/default.go b/colorschemes/default.go
index 48db2d3..de65c22 100644
--- a/colorschemes/default.go
+++ b/colorschemes/default.go
@@ -9,6 +9,8 @@ var Default = Colorscheme{
CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},
+ BattLines: []int{4, 3, 2, 1, 5, 6, 7, 8},
+
MainMem: 5,
SwapMem: 11,
diff --git a/colorschemes/default.json b/colorschemes/default.json
index 5d26a8b..99abfaa 100644
--- a/colorschemes/default.json
+++ b/colorschemes/default.json
@@ -9,6 +9,8 @@
"CPULines": [4, 3, 2, 1, 5, 6, 7, 8],
+ "BattLines": [4, 3, 2, 1, 5, 6, 7, 8],
+
"MainMem": 5,
"SwapMem": 11,
diff --git a/colorschemes/default_dark.go b/colorschemes/default_dark.go
index 15f7137..6070985 100644
--- a/colorschemes/default_dark.go
+++ b/colorschemes/default_dark.go
@@ -9,6 +9,8 @@ var DefaultDark = Colorscheme{
CPULines: []int{4, 3, 2, 1, 5, 6, 7, 8},
+ BattLines: []int{4, 3, 2, 1, 5, 6, 7, 8},
+
MainMem: 5,
SwapMem: 3,
diff --git a/colorschemes/monokai.go b/colorschemes/monokai.go
index b3dbc23..445f054 100644
--- a/colorschemes/monokai.go
+++ b/colorschemes/monokai.go
@@ -9,6 +9,8 @@ var Monokai = Colorscheme{
CPULines: []int{81, 70, 208, 197, 249, 141, 221, 186},
+ BattLines: []int{81, 70, 208, 197, 249, 141, 221, 186},
+
MainMem: 208,
SwapMem: 186,
diff --git a/colorschemes/solarized.go b/colorschemes/solarized.go
index 2ead4df..3ce9997 100644
--- a/colorschemes/solarized.go
+++ b/colorschemes/solarized.go
@@ -9,6 +9,8 @@ var Solarized = Colorscheme{
CPULines: []int{61, 33, 37, 64, 125, 160, 166, 136},
+ BattLines: []int{61, 33, 37, 64, 125, 160, 166, 136},
+
MainMem: 125,
SwapMem: 166,
diff --git a/colorschemes/template.go b/colorschemes/template.go
index d303e4b..f410e61 100644
--- a/colorschemes/template.go
+++ b/colorschemes/template.go
@@ -30,6 +30,8 @@ type Colorscheme struct {
// should add at least 8 here
CPULines []int
+ BattLines []int
+
MainMem int
SwapMem int