diff options
author | Sean E. Russell <ser@ser1.net> | 2022-02-08 16:50:30 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2022-02-09 13:18:39 -0600 |
commit | 66047ad64cf9211da7940d3c73b5811766591124 (patch) | |
tree | 6e7366c0f74aed10006198f1619cd27457be6fed /config.go | |
parent | 7b8bf412b1c832ef5702c933ce21e03b8fad201a (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.go | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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", |