diff options
author | Markus Peloquin <markus@cs.wisc.edu> | 2019-11-15 16:23:32 -0800 |
---|---|---|
committer | Sean E. Russell <seanerussell@gmail.com> | 2020-02-13 12:39:08 -0600 |
commit | 44b8ac9c1a80d2a019a694591558ac0c2f8be2d5 (patch) | |
tree | c3f45d554545db6226be2957f59ec1d873e56bcd /layout | |
parent | 0932e3c3d09245a4c8796ac5258a913d79c24c8d (diff) |
Solarized theme fixes
The Solarized theme doesn't work well on light themes. (Light/dark have
identical palettes, but the foreground/background colors are different
and greys obviously get used differently.)
This commit makes the 'solarized' theme use the foreground color instead
of '250' and use the average of base00 and base0 for DiskBar. (These
greys are already close to 50%.)
This commit also adds two 16-color themes utilizing the extra violet/
orange colors, and uses the appropriate grey color for DiskBar.
Diffstat (limited to 'layout')
-rw-r--r-- | layout/layout.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/layout.go b/layout/layout.go index e918bde..3f892dd 100644 --- a/layout/layout.go +++ b/layout/layout.go @@ -29,6 +29,7 @@ type MyGrid struct { var widgetNames []string = []string{"cpu", "disk", "mem", "temp", "net", "procs", "batt"} +// BUG 2:disk mem\nnet loses the widget from the second line func Layout(wl layout, c gotop.Config) (*MyGrid, error) { rowDefs := wl.Rows uiRows := make([]ui.GridItem, 0) |