Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidMemUnit = func(u string) error { return fmt.Errorf("invalid memory unit '%s'", u) } ErrInvalidSwapUnit = func(u string) error { return fmt.Errorf("invalid swap unit '%s'", u) } ErrInvalidDiskUnit = func(u string) error { return fmt.Errorf("invalid disk unit '%s'", u) } )
View Source
var ErrFileEmpty = func(f string) error { return fmt.Errorf("file '%s' is empty", f) }
Functions ¶
func ListColors ¶
func ListColors()
Types ¶
type GTK ¶
func GetGTKInfo ¶
GetGTKInfo reads gtkrc and returns a GTK type containing theme name, icon theme name, font name and cursor theme name
type Options ¶
type Show ¶
type Show struct { OS bool Arch bool Kernel bool User bool Hostname bool Uptime bool UpSince bool WM bool DE bool GTK2Theme bool GTK2IconTheme bool GTK2Font bool GTK2CursorTheme bool GTK3Theme bool GTK3IconTheme bool GTK3Font bool GTK3CursorTheme bool Terminal bool Shell bool Editor bool Packages bool Memory bool Swap bool CPU bool Root bool Home bool }
Click to show internal directories.
Click to hide internal directories.