Documentation
¶
Index ¶
- func AutostartApps()
- func CompositorProc() *proc.Process
- func FehProc() *proc.Process
- func MicMuteToggle() error
- func NewTerminalApp(cmd string) error
- func NewTerminalAppWithArgs(cmd string, params []string) error
- func NewTmuxTerminal() error
- func PolkitProc() *proc.Process
- func Udiskie() *proc.Process
- func VolumeDown() error
- func VolumeMuteToggle() error
- func VolumeUp() error
- func XDGOpen(target string) *proc.Process
- func XSSLockProc() *proc.Process
- func XSetScreensaverTimeProc() *proc.Process
- type PowerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutostartApps ¶
func AutostartApps()
func CompositorProc ¶
func MicMuteToggle ¶
func MicMuteToggle() error
func NewTerminalApp ¶
func NewTerminalAppWithArgs ¶
func NewTmuxTerminal ¶
func NewTmuxTerminal() error
func PolkitProc ¶
func VolumeDown ¶
func VolumeDown() error
func VolumeMuteToggle ¶
func VolumeMuteToggle() error
func XSSLockProc ¶
func XSetScreensaverTimeProc ¶
Types ¶
type PowerState ¶
type PowerState string
const ( AC_ONLINE PowerState = "ac_online" DISCHARGING PowerState = "discharging" LOW PowerState = "low" VERY_LOW PowerState = "very_low" CRITICAL PowerState = "critical" )
func CheckBattery ¶
func CheckBattery() PowerState
Click to show internal directories.
Click to hide internal directories.