Documentation ¶
Index ¶
- Constants
- func Find(plugins []config.Plugin, name string) (config.Plugin, error)
- type Application
- type Applications
- func (a Applications) Entries(ctx context.Context, _ string) []Entry
- func (a Applications) IsSetup() bool
- func (Applications) KeepSort() bool
- func (a Applications) Name() string
- func (a Applications) Placeholder() string
- func (a Applications) Prefix() string
- func (a Applications) Refresh()
- func (a *Applications) Setup(cfg *config.Config)
- func (a Applications) SetupData(_ *config.Config)
- func (a Applications) SwitcherOnly() bool
- type Commands
- func (c Commands) Entries(ctx context.Context, term string) []Entry
- func (c Commands) IsSetup() bool
- func (Commands) KeepSort() bool
- func (c Commands) Name() string
- func (c Commands) Placeholder() string
- func (c Commands) Prefix() string
- func (c Commands) Refresh()
- func (c *Commands) Setup(cfg *config.Config)
- func (c *Commands) SetupData(cfg *config.Config)
- func (c Commands) SwitcherOnly() bool
- type CustomCommands
- func (c CustomCommands) Entries(ctx context.Context, term string) (_ []Entry)
- func (c CustomCommands) IsSetup() (_ bool)
- func (CustomCommands) KeepSort() bool
- func (CustomCommands) Name() (_ string)
- func (c CustomCommands) Placeholder() (_ string)
- func (c CustomCommands) Prefix() (_ string)
- func (CustomCommands) Refresh()
- func (c *CustomCommands) Setup(cfg *config.Config)
- func (c *CustomCommands) SetupData(cfg *config.Config)
- func (c CustomCommands) SwitcherOnly() (_ bool)
- type Dmenu
- func (d Dmenu) Entries(ctx context.Context, term string) []Entry
- func (d Dmenu) IsSetup() bool
- func (d Dmenu) KeepSort() bool
- func (Dmenu) Name() string
- func (d Dmenu) Placeholder() string
- func (Dmenu) Prefix() string
- func (Dmenu) Refresh()
- func (d *Dmenu) Setup(cfg *config.Config)
- func (d *Dmenu) SetupData(cfg *config.Config)
- func (Dmenu) SwitcherOnly() bool
- type EngineInfo
- type Entry
- type Finder
- func (f Finder) Entries(ctx context.Context, term string) []Entry
- func (f Finder) IsSetup() bool
- func (Finder) KeepSort() bool
- func (f Finder) Name() string
- func (f Finder) Placeholder() string
- func (f Finder) Prefix() string
- func (f Finder) Refresh()
- func (f *Finder) Setup(cfg *config.Config)
- func (f *Finder) SetupData(cfg *config.Config)
- func (f Finder) SwitcherOnly() bool
- type Hyprland
- func (Hyprland) Entries(ctx context.Context, term string) []Entry
- func (h *Hyprland) GetWindowAmount(class string) uint
- func (h Hyprland) IsSetup() bool
- func (Hyprland) KeepSort() bool
- func (Hyprland) Name() string
- func (h Hyprland) Placeholder() string
- func (h Hyprland) Prefix() string
- func (h Hyprland) Refresh()
- func (h *Hyprland) Setup(cfg *config.Config)
- func (h *Hyprland) SetupData(cfg *config.Config)
- func (h Hyprland) SwitcherOnly() bool
- type MatchingType
- type Piped
- type Plugin
- func (e Plugin) Entries(ctx context.Context, term string) []Entry
- func (e Plugin) IsSetup() bool
- func (p Plugin) KeepSort() bool
- func (e Plugin) Name() string
- func (e Plugin) Placeholder() string
- func (e Plugin) Prefix() string
- func (e *Plugin) Refresh()
- func (e *Plugin) Setup(cfg *config.Config)
- func (e *Plugin) SetupData(cfg *config.Config)
- func (e Plugin) SwitcherOnly() bool
- type Runner
- func (r Runner) Entries(ctx context.Context, term string) []Entry
- func (r Runner) IsSetup() bool
- func (Runner) KeepSort() bool
- func (Runner) Name() string
- func (r Runner) Placeholder() string
- func (r Runner) Prefix() string
- func (r Runner) Refresh()
- func (r *Runner) Setup(cfg *config.Config)
- func (r *Runner) SetupData(cfg *config.Config)
- func (r Runner) SwitcherOnly() bool
- type SSH
- func (s SSH) Entries(ctx context.Context, term string) []Entry
- func (s SSH) IsSetup() bool
- func (SSH) KeepSort() bool
- func (s SSH) Name() string
- func (s SSH) Placeholder() string
- func (s SSH) Prefix() string
- func (s *SSH) Refresh()
- func (s *SSH) Setup(cfg *config.Config)
- func (s *SSH) SetupData(cfg *config.Config)
- func (s SSH) SwitcherOnly() bool
- type Switcher
- func (s Switcher) Entries(ctx context.Context, term string) []Entry
- func (s Switcher) IsSetup() bool
- func (Switcher) KeepSort() bool
- func (s Switcher) Name() string
- func (s Switcher) Placeholder() string
- func (s Switcher) Prefix() string
- func (s Switcher) Refresh()
- func (s *Switcher) Setup(cfg *config.Config)
- func (s *Switcher) SetupData(cfg *config.Config)
- func (s Switcher) SwitcherOnly() bool
- type Websearch
- func (w Websearch) Entries(ctx context.Context, term string) []Entry
- func (w Websearch) IsSetup() bool
- func (Websearch) KeepSort() bool
- func (Websearch) Name() string
- func (w Websearch) Placeholder() string
- func (w Websearch) Prefix() string
- func (w Websearch) Refresh()
- func (w *Websearch) Setup(cfg *config.Config)
- func (w *Websearch) SetupData(_ *config.Config)
- func (w Websearch) SwitcherOnly() bool
- type Workable
Constants ¶
View Source
const ( GoogleURL = "https://www.google.com/search?q=%TERM%" DuckDuckGoURL = "https://duckduckgo.com/?q=%TERM%" EcosiaURL = "https://www.ecosia.org/search?q=%TERM%" YandexURL = "https://yandex.com/search/?text=%TERM%" )
View Source
const ApplicationsName = "applications"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Applications ¶
type Applications struct {
// contains filtered or unexported fields
}
func (Applications) IsSetup ¶ added in v0.1.1
func (a Applications) IsSetup() bool
func (Applications) KeepSort ¶ added in v0.1.4
func (Applications) KeepSort() bool
func (Applications) Name ¶
func (a Applications) Name() string
func (Applications) Placeholder ¶ added in v0.1.1
func (a Applications) Placeholder() string
func (Applications) Prefix ¶
func (a Applications) Prefix() string
func (Applications) Refresh ¶ added in v0.0.93
func (a Applications) Refresh()
func (*Applications) Setup ¶ added in v0.0.20
func (a *Applications) Setup(cfg *config.Config)
func (Applications) SetupData ¶ added in v0.1.1
func (a Applications) SetupData(_ *config.Config)
func (Applications) SwitcherOnly ¶ added in v0.1.0
func (a Applications) SwitcherOnly() bool
type Commands ¶ added in v0.0.40
type Commands struct {
// contains filtered or unexported fields
}
func (Commands) Placeholder ¶ added in v0.1.1
func (Commands) SwitcherOnly ¶ added in v0.1.0
type CustomCommands ¶ added in v0.2.0
type CustomCommands struct {
// contains filtered or unexported fields
}
func (CustomCommands) Entries ¶ added in v0.2.0
func (c CustomCommands) Entries(ctx context.Context, term string) (_ []Entry)
func (CustomCommands) IsSetup ¶ added in v0.2.0
func (c CustomCommands) IsSetup() (_ bool)
func (CustomCommands) KeepSort ¶ added in v0.2.0
func (CustomCommands) KeepSort() bool
func (CustomCommands) Name ¶ added in v0.2.0
func (CustomCommands) Name() (_ string)
func (CustomCommands) Placeholder ¶ added in v0.2.0
func (c CustomCommands) Placeholder() (_ string)
func (CustomCommands) Prefix ¶ added in v0.2.0
func (c CustomCommands) Prefix() (_ string)
func (CustomCommands) Refresh ¶ added in v0.2.0
func (CustomCommands) Refresh()
func (*CustomCommands) Setup ¶ added in v0.2.0
func (c *CustomCommands) Setup(cfg *config.Config)
func (*CustomCommands) SetupData ¶ added in v0.2.0
func (c *CustomCommands) SetupData(cfg *config.Config)
func (CustomCommands) SwitcherOnly ¶ added in v0.2.0
func (c CustomCommands) SwitcherOnly() (_ bool)
type Dmenu ¶ added in v0.0.97
type Dmenu struct { // contains filtered or unexported fields }
func (Dmenu) Placeholder ¶ added in v0.1.1
func (Dmenu) SwitcherOnly ¶ added in v0.1.0
type EngineInfo ¶ added in v0.0.83
type Entry ¶
type Entry struct { Label string `json:"label,omitempty"` Sub string `json:"sub,omitempty"` Exec string `json:"exec,omitempty"` ExecAlt string `json:"exec_alt,omitempty"` Terminal bool `json:"terminal,omitempty"` Piped Piped `json:"-"` PipedAlt Piped `json:"-"` Icon string `json:"icon,omitempty"` IconIsImage bool `json:"icon_is_image,omitempty"` DragDrop bool `json:"drag_drop,omitempty"` DragDropData string `json:"drag_drop_data,omitempty"` Image string `json:"image,omitempty"` HideText bool `json:"hide_text,omitempty"` Categories []string `json:"categories,omitempty"` Searchable string `json:"searchable,omitempty"` MatchFields int `json:"match_fields,omitempty"` Class string `json:"class,omitempty"` History bool `json:"history,omitempty"` Matching MatchingType `json:"matching,omitempty"` RecalculateScore bool `json:"recalculate_score,omitempty"` ScoreFinal float64 `json:"score_final,omitempty"` ScoreFuzzy float64 `json:"score_fuzzy,omitempty"` Used int `json:"-"` DaysSinceUsed int `json:"-"` SpecialLabel string `json:"special_label,omitempty"` LastUsed time.Time `json:"-"` InitialClass string `json:"initial_class,omitempty"` OpenWindows uint `json:"-"` }
func (Entry) Identifier ¶
type Finder ¶ added in v0.0.43
type Finder struct {
// contains filtered or unexported fields
}
func (Finder) Placeholder ¶ added in v0.1.1
func (Finder) SwitcherOnly ¶ added in v0.1.0
type Hyprland ¶
type Hyprland struct {
// contains filtered or unexported fields
}
func (*Hyprland) GetWindowAmount ¶ added in v0.0.65
func (Hyprland) Placeholder ¶ added in v0.1.1
func (Hyprland) SwitcherOnly ¶ added in v0.1.0
type MatchingType ¶ added in v0.0.20
type MatchingType int
const ( Fuzzy MatchingType = iota AlwaysTop AlwaysBottom )
type Plugin ¶ added in v0.1.0
func (Plugin) Placeholder ¶ added in v0.1.1
func (Plugin) SwitcherOnly ¶ added in v0.1.0
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (Runner) Placeholder ¶ added in v0.1.1
func (Runner) SwitcherOnly ¶ added in v0.1.0
type SSH ¶ added in v0.0.41
type SSH struct {
// contains filtered or unexported fields
}
func (SSH) Placeholder ¶ added in v0.1.1
func (SSH) SwitcherOnly ¶ added in v0.1.0
type Switcher ¶ added in v0.0.31
type Switcher struct {
// contains filtered or unexported fields
}
func (Switcher) Placeholder ¶ added in v0.1.1
func (Switcher) SwitcherOnly ¶ added in v0.1.0
type Websearch ¶
type Websearch struct {
// contains filtered or unexported fields
}
func (Websearch) Placeholder ¶ added in v0.1.1
func (Websearch) SwitcherOnly ¶ added in v0.1.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.