diff options
author | Sean E. Russell <seanerussell@gmail.com> | 2020-02-13 10:15:52 -0600 |
---|---|---|
committer | Sean E. Russell <seanerussell@gmail.com> | 2020-02-13 10:15:52 -0600 |
commit | 7e5c0c969c223973335c6fae5432411afc3fb060 (patch) | |
tree | 7f785ba4f692b81806209cb5f0c959e86efdba70 /config.go | |
parent | 4bfe0251a8893ed08654d59b8a8b8182958e907f (diff) |
Fixes the directory structure.
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/config.go b/config.go new file mode 100644 index 0000000..84298c5 --- /dev/null +++ b/config.go @@ -0,0 +1,28 @@ +package gotop + +import ( + "time" + + "github.com/cjbassi/gotop/colorschemes" + "github.com/cjbassi/gotop/widgets" +) + +type Config struct { + ConfigDir string + LogDir string + LogPath string + + GraphHorizontalScale int + HelpVisible bool + Colorscheme colorschemes.Colorscheme + + UpdateInterval time.Duration + MinimalMode bool + AverageLoad bool + PercpuLoad bool + TempScale widgets.TempScale + Battery bool + Statusbar bool + NetInterface string + LayoutFile string +} |