Documentation
¶
Index ¶
Constants ¶
View Source
const ApplicationsName = "applications"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Applications ¶
type Applications struct { Apps []Application `json:"apps,omitempty"` Prfx string `json:"prfx,omitempty"` }
func GetApplications ¶
func GetApplications() *Applications
func (Applications) Entries ¶
func (a Applications) Entries(_ string) []Entry
func (Applications) Name ¶
func (a Applications) Name() string
func (Applications) Prefix ¶
func (a Applications) Prefix() string
func (*Applications) SetPrefix ¶
func (a *Applications) SetPrefix(val string)
type Entry ¶
type Entry struct { Label string `json:"label,omitempty"` Sub string `json:"sub,omitempty"` Exec string `json:"exec,omitempty"` Terminal bool `json:"terminal,omitempty"` Icon string `json:"icon,omitempty"` Searchable string `json:"searchable,omitempty"` Categories []string `json:"categories,omitempty"` Notifyable bool `json:"notifyable,omitempty"` Class string `json:"class,omitempty"` History bool `json:"history,omitempty"` Identifier string `json:"-"` Used int `json:"-"` DaysSinceUsed int `json:"-"` ScoreFuzzy int `json:"-"` ScoreFuzzyFinal float64 `json:"-"` }
Click to show internal directories.
Click to hide internal directories.