Documentation ¶
Overview ¶
Package diskspace provides an i3bar module for disk space usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
Info wraps disk space information.
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents a diskspace bar module. It supports setting the output format, click handler, update frequency, and urgency/colour functions.
func (*Module) Output ¶
Output configures a module to display the output of a user-defined function.
func (*Module) RefreshInterval ¶
RefreshInterval configures the polling frequency for statfs.
Click to show internal directories.
Click to hide internal directories.