Documentation
¶
Index ¶
Constants ¶
View Source
const Identifier = "disk_usage"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskIOGenerator ¶
type DiskIOGenerator struct {
WarnThreshold float64
CritThreshold float64
Name string
Interval time.Duration
Items []DiskIOItem
}
func (*DiskIOGenerator) Produce ¶
func (g *DiskIOGenerator) Produce(kill <-chan struct{}) <-chan []i3.Output
Produce implements i3.Producer
type DiskIOItem ¶
type DiskUsageGenerator ¶
type DiskUsageGenerator struct {
CritThreshold int `json:"crit_threshold"`
WarnThreshold int `json:"warn_threshold"`
Items []DiskUsageItem `json:"items"`
// Identifier for receiving click events
Name string
}
type DiskUsageItem ¶
Click to show internal directories.
Click to hide internal directories.