Documentation ¶
Index ¶
- Constants
- func OnlyIdleDisable() error
- func OnlyIdleEnable() error
- func StartDonate() error
- func StopDonate() error
- type About
- type CPU
- type ChromeEmbeddedOpener
- type Donate
- type Memory
- type Network
- type NetworkStat
- type Notifier
- type Open
- type Renderer
- type Separator
- type SessionManager
- type Settings
- type ShellMenu
- type ShellToggle
- type Text
- type Updater
- type Upgrade
- type Welcome
Constants ¶
View Source
const ( AboutKey string = "About" AboutText string = `` /* 299-byte string literal not displayed */ )
View Source
const ( UpgradeKey string = "Upgrade" SentinelFile string = "/run/mocaccino/upgrades_available" )
View Source
const (
CPUKey string = "cpu"
)
View Source
const (
ChromeEmbeddedOpenerKey string = "ChromeEmbeddedOpener"
)
View Source
const (
DonateKey = "donate"
)
View Source
const (
MemoryKey string = "memory"
)
View Source
const (
NetworkKey string = "Network"
)
View Source
const (
NetworkStatKey string = "NetworkStat"
)
View Source
const (
OpenKey string = "Open"
)
View Source
const (
SeparatorKey string = "Separator"
)
View Source
const (
SettingsKey string = "Settings"
)
View Source
const (
ShellKey string = "Shell"
)
View Source
const (
ShellMenuKey string = "Shell"
)
View Source
const (
TextKey string = "Text"
)
View Source
const (
UpdaterKey string = "Updater"
)
View Source
const UpgradeCommand = "pkexec /bin/bash -c 'luet upgrade --no-spinner --color=false -y'"
View Source
const (
WelcomeKey string = "welcome"
)
Variables ¶
This section is empty.
Functions ¶
func OnlyIdleDisable ¶
func OnlyIdleDisable() error
func OnlyIdleEnable ¶
func OnlyIdleEnable() error
func StartDonate ¶
func StartDonate() error
func StopDonate ¶
func StopDonate() error
Types ¶
type ChromeEmbeddedOpener ¶
type ChromeEmbeddedOpener struct { Text string SubText string URL string SubMenu *systray.MenuItem }
func (*ChromeEmbeddedOpener) Close ¶
func (c *ChromeEmbeddedOpener) Close()
func (*ChromeEmbeddedOpener) ID ¶
func (c *ChromeEmbeddedOpener) ID() string
func (*ChromeEmbeddedOpener) Menu ¶
func (c *ChromeEmbeddedOpener) Menu(n Notifier, r Renderer, sm SessionManager)
func (*ChromeEmbeddedOpener) Render ¶
func (c *ChromeEmbeddedOpener) Render(Notifier) string
type NetworkStat ¶
func (*NetworkStat) Close ¶
func (c *NetworkStat) Close()
func (*NetworkStat) ID ¶
func (c *NetworkStat) ID() string
func (*NetworkStat) Menu ¶
func (c *NetworkStat) Menu(n Notifier, r Renderer, sm SessionManager)
func (*NetworkStat) Render ¶
func (c *NetworkStat) Render(Notifier) string
type SessionManager ¶
type ShellToggle ¶
func (*ShellToggle) Close ¶
func (c *ShellToggle) Close()
func (*ShellToggle) ID ¶
func (c *ShellToggle) ID() string
func (*ShellToggle) Menu ¶
func (c *ShellToggle) Menu(n Notifier, r Renderer, sm SessionManager)
func (*ShellToggle) Render ¶
func (c *ShellToggle) Render(Notifier) string
type Updater ¶
Click to show internal directories.
Click to hide internal directories.