summaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2022-02-08 16:50:30 -0600
committerSean E. Russell <ser@ser1.net>2022-02-09 13:18:39 -0600
commit66047ad64cf9211da7940d3c73b5811766591124 (patch)
tree6e7366c0f74aed10006198f1619cd27457be6fed /config.go
parent7b8bf412b1c832ef5702c933ce21e03b8fad201a (diff)
Fixes #158, adding a man page. This replaces the flags library in the process. It also changes some of the new no- flags.
Diffstat (limited to 'config.go')
-rw-r--r--config.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/config.go b/config.go
index d818285..7ff2947 100644
--- a/config.go
+++ b/config.go
@@ -34,26 +34,20 @@ type Config struct {
Colorscheme colorschemes.Colorscheme
UpdateInterval time.Duration
AverageLoad bool
- NoAverageLoad bool
PercpuLoad bool
- NoPercpuLoad bool
Statusbar bool
- NoStatusbar bool
TempScale widgets.TempScale
NetInterface string
Layout string
MaxLogSize int64
ExportPort string
Mbps bool
- NoMbps bool
Temps []string
Test bool
- NoTest bool
ExtensionVars map[string]string
ConfigFile string
Tr lingo.Translations
Nvidia bool
- NoNvidia bool
NvidiaRefresh time.Duration
}
@@ -67,15 +61,9 @@ func NewConfig() Config {
HelpVisible: false,
UpdateInterval: time.Second,
AverageLoad: false,
- NoAverageLoad: false,
PercpuLoad: true,
- NoPercpuLoad: false,
TempScale: widgets.Celsius,
Statusbar: false,
- NoStatusbar: false,
- NoMbps: false,
- NoTest: false,
- NoNvidia: false,
NetInterface: widgets.NetInterfaceAll,
MaxLogSize: 5000000,
Layout: "default",