Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatteryMonitor ¶
type BatteryMonitor struct {
UEventFile string `yaml:"ueventFile"`
Format string `yaml:"format"`
StatusIcons string `yaml:"statusIcons"`
ChargingIcons string `yaml:"chargingIcons"`
DischargingIcons string `yaml:"dischargingIcons"`
StatusFull string `yaml:"statusFull"`
StatusNotCharging string `yaml:"statusNotCharging"`
StatusCharging string `yaml:"statusCharging"`
StatusDischarging string `yaml:"statusDischarging"`
Colors string `yaml:"colors"`
CriticalLevel int `yaml:"criticalLevel"`
Notification notification `yaml:"notification,inline"`
// contains filtered or unexported fields
}
func (*BatteryMonitor) Run ¶
func (w *BatteryMonitor) Run(ctx context.Context, update statusbar.UpdateFunc)
type DateTime ¶
type DateTime struct {
Format string `yaml:"format"`
// contains filtered or unexported fields
}
type ExternalProgram ¶
type ExternalProgram struct {
Command string `yaml:"command"`
// contains filtered or unexported fields
}
func (*ExternalProgram) Event ¶
func (p *ExternalProgram) Event(ev statusbar.Event)
func (*ExternalProgram) Run ¶
func (p *ExternalProgram) Run(ctx context.Context, update statusbar.UpdateFunc)
type SystemMonitor ¶
type SystemMonitor struct {
Format string `yaml:"format"`
// contains filtered or unexported fields
}
func (*SystemMonitor) Run ¶
func (w *SystemMonitor) Run(ctx context.Context, b statusbar.UpdateFunc)
type TemperatureMonitor ¶
type TemperatureMonitor struct {
Format string `yaml:"format"`
TempInput string `yaml:"tempInput"`
FanInput string `yaml:"fanInput"`
// contains filtered or unexported fields
}
func (*TemperatureMonitor) Run ¶
func (w *TemperatureMonitor) Run(ctx context.Context, update statusbar.UpdateFunc)
type Volume ¶
type Volume struct {
Format string `yaml:"format"`
Icon string `yaml:"icon"`
MuteIcon string `yaml:"muteIcon"`
VolMonCmd string `yaml:"volMonCommand"`
ScrollDownCmd string `yaml:"scrollDownCommand"`
ScrollUpCmd string `yaml:"scrollUpCommand"`
RightClickCommand string `yaml:"rightClickCommand"`
LeftClickCommand string `yaml:"leftClickCommand"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.