diff options
author | Sean E. Russell <ser@ser1.net> | 2020-02-13 13:24:41 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-02-13 13:24:41 -0600 |
commit | 4247e9339e46bb123f714e7774547e6af6a10ec8 (patch) | |
tree | ae2d94051ace368f8bca16ce30ff0b35c714550d /config.go | |
parent | 44b8ac9c1a80d2a019a694591558ac0c2f8be2d5 (diff) |
Reworks the -l argument. Combines the layout args into one (smarter) one, and adds the ability to parse layouts from stdin. Re-implements --minimal as a layout.
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,7 @@ package gotop import ( + "io" "time" "github.com/cjbassi/gotop/colorschemes" @@ -17,12 +18,11 @@ type Config struct { Colorscheme colorschemes.Colorscheme UpdateInterval time.Duration - MinimalMode bool AverageLoad bool PercpuLoad bool TempScale widgets.TempScale Battery bool Statusbar bool NetInterface string - LayoutFile string + Layout io.Reader } |