summaryrefslogtreecommitdiffstats
path: root/config.go
blob: 45b7742bde80881b40e2c7b47a55338282148763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package gotop

import (
	"io"
	"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
	AverageLoad    bool
	PercpuLoad     bool
	TempScale      widgets.TempScale
	Battery        bool
	Statusbar      bool
	NetInterface   string
	Layout         io.Reader
}