modules

package
v0.6.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

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

View Source
var (
	DmenuSocketAddrGet   = filepath.Join(util.TmpDir(), "walker-dmenu.sock")
	DmenuSocketAddrReply = filepath.Join(util.TmpDir(), "walker-dmenu-reply.sock")
)

Functions

func Find added in v0.0.27

func Find(plugins []config.Plugin, name string) (config.Plugin, error)

Types

type Application

type Application struct {
	Generic util.Entry   `json:"generic,omitempty"`
	Actions []util.Entry `json:"actions,omitempty"`
}

type Applications

type Applications struct {
	// contains filtered or unexported fields
}

func (*Applications) Cleanup added in v0.5.2

func (a *Applications) Cleanup()

func (*Applications) Entries

func (a *Applications) Entries(ctx context.Context, _ string) []util.Entry

func (*Applications) General added in v0.5.5

func (a *Applications) General() *config.GeneralModule

func (*Applications) Refresh added in v0.0.93

func (a *Applications) Refresh()

func (*Applications) RunWm added in v0.5.4

func (a *Applications) RunWm()

func (*Applications) Setup added in v0.0.20

func (a *Applications) Setup(cfg *config.Config) bool

func (*Applications) SetupData added in v0.1.1

func (a *Applications) SetupData(_ *config.Config, ctx context.Context)

type Commands added in v0.0.40

type Commands struct {
	// contains filtered or unexported fields
}

func (Commands) Cleanup added in v0.5.2

func (c Commands) Cleanup()

func (Commands) Entries added in v0.0.40

func (c Commands) Entries(ctx context.Context, term string) []util.Entry

func (*Commands) General added in v0.5.5

func (c *Commands) General() *config.GeneralModule

func (*Commands) Refresh added in v0.0.93

func (c *Commands) Refresh()

func (*Commands) Setup added in v0.0.40

func (c *Commands) Setup(cfg *config.Config) bool

func (*Commands) SetupData added in v0.1.1

func (c *Commands) SetupData(cfg *config.Config, ctx context.Context)

type CustomCommands added in v0.2.0

type CustomCommands struct {
	// contains filtered or unexported fields
}

func (CustomCommands) Cleanup added in v0.5.2

func (c CustomCommands) Cleanup()

func (CustomCommands) Entries added in v0.2.0

func (c CustomCommands) Entries(ctx context.Context, term string) (_ []util.Entry)

func (*CustomCommands) General added in v0.5.5

func (c *CustomCommands) General() *config.GeneralModule

func (*CustomCommands) Refresh added in v0.2.0

func (c *CustomCommands) Refresh()

func (*CustomCommands) Setup added in v0.2.0

func (c *CustomCommands) Setup(cfg *config.Config) bool

func (*CustomCommands) SetupData added in v0.2.0

func (c *CustomCommands) SetupData(cfg *config.Config, ctx context.Context)

type Dmenu added in v0.0.97

type Dmenu struct {
	Content     []string
	Separator   string
	LabelColumn int

	IsService bool
	// contains filtered or unexported fields
}

func (*Dmenu) Cleanup added in v0.5.2

func (d *Dmenu) Cleanup()

func (Dmenu) Entries added in v0.0.97

func (d Dmenu) Entries(ctx context.Context, term string) []util.Entry

func (*Dmenu) General added in v0.5.5

func (d *Dmenu) General() *config.GeneralModule

func (Dmenu) ListenForReply added in v0.5.0

func (d Dmenu) ListenForReply()

func (*Dmenu) Refresh added in v0.0.97

func (d *Dmenu) Refresh()

func (Dmenu) Reply added in v0.5.0

func (Dmenu) Reply(res string)

func (Dmenu) Send added in v0.5.0

func (d Dmenu) Send()

func (*Dmenu) SetSeparator added in v0.5.0

func (d *Dmenu) SetSeparator(sep string)

func (*Dmenu) Setup added in v0.0.97

func (d *Dmenu) Setup(cfg *config.Config) bool

func (*Dmenu) SetupData added in v0.1.1

func (d *Dmenu) SetupData(cfg *config.Config, ctx context.Context)

func (*Dmenu) StartListening added in v0.5.0

func (d *Dmenu) StartListening()

type EngineInfo added in v0.0.83

type EngineInfo struct {
	Label string
	URL   string
}

type Finder added in v0.0.43

type Finder struct {
	// contains filtered or unexported fields
}

func (*Finder) Cleanup added in v0.5.2

func (f *Finder) Cleanup()

func (*Finder) Entries added in v0.0.43

func (f *Finder) Entries(ctx context.Context, term string) []util.Entry

func (*Finder) General added in v0.5.5

func (f *Finder) General() *config.GeneralModule

func (*Finder) Refresh added in v0.0.93

func (f *Finder) Refresh()

func (*Finder) Setup added in v0.0.43

func (f *Finder) Setup(cfg *config.Config) bool

func (*Finder) SetupData added in v0.1.1

func (f *Finder) SetupData(cfg *config.Config, ctx context.Context)

type Plugin added in v0.1.0

type Plugin struct {
	PluginCfg config.Plugin
	// contains filtered or unexported fields
}

func (Plugin) Cleanup added in v0.5.2

func (e Plugin) Cleanup()

func (Plugin) Entries added in v0.1.0

func (e Plugin) Entries(ctx context.Context, term string) []util.Entry

func (*Plugin) General added in v0.1.0

func (e *Plugin) General() *config.GeneralModule

func (*Plugin) Refresh added in v0.1.0

func (e *Plugin) Refresh()

func (*Plugin) Setup added in v0.1.0

func (e *Plugin) Setup(cfg *config.Config) bool

func (*Plugin) SetupData added in v0.1.1

func (e *Plugin) SetupData(cfg *config.Config, ctx context.Context)

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func (Runner) Cleanup added in v0.5.2

func (r Runner) Cleanup()

func (Runner) Entries

func (r Runner) Entries(ctx context.Context, term string) []util.Entry

func (*Runner) General added in v0.5.5

func (r *Runner) General() *config.GeneralModule

func (*Runner) Refresh added in v0.0.93

func (r *Runner) Refresh()

func (*Runner) Setup added in v0.0.20

func (r *Runner) Setup(cfg *config.Config) bool

func (*Runner) SetupData added in v0.1.1

func (r *Runner) SetupData(cfg *config.Config, ctx context.Context)

type SSH added in v0.0.41

type SSH struct {
	// contains filtered or unexported fields
}

func (SSH) Cleanup added in v0.5.2

func (s SSH) Cleanup()

func (SSH) Entries added in v0.0.41

func (s SSH) Entries(ctx context.Context, term string) []util.Entry

func (*SSH) General added in v0.5.5

func (s *SSH) General() *config.GeneralModule

func (*SSH) Refresh added in v0.0.93

func (s *SSH) Refresh()

func (*SSH) Setup added in v0.0.41

func (s *SSH) Setup(cfg *config.Config) bool

func (*SSH) SetupData added in v0.1.1

func (s *SSH) SetupData(cfg *config.Config, ctx context.Context)

type Switcher added in v0.0.31

type Switcher struct {
	// contains filtered or unexported fields
}

func (Switcher) Cleanup added in v0.5.2

func (s Switcher) Cleanup()

func (Switcher) Entries added in v0.0.31

func (s Switcher) Entries(ctx context.Context, term string) []util.Entry

func (*Switcher) General added in v0.5.5

func (s *Switcher) General() *config.GeneralModule

func (*Switcher) Refresh added in v0.0.93

func (s *Switcher) Refresh()

func (*Switcher) Setup added in v0.0.31

func (s *Switcher) Setup(cfg *config.Config) bool

func (*Switcher) SetupData added in v0.1.1

func (s *Switcher) SetupData(cfg *config.Config, ctx context.Context)

type Websearch

type Websearch struct {
	// contains filtered or unexported fields
}

func (Websearch) Cleanup added in v0.5.2

func (w Websearch) Cleanup()

func (Websearch) Entries

func (w Websearch) Entries(ctx context.Context, term string) []util.Entry

func (*Websearch) General added in v0.5.5

func (w *Websearch) General() *config.GeneralModule

func (*Websearch) Refresh added in v0.0.93

func (w *Websearch) Refresh()

func (*Websearch) Setup added in v0.0.20

func (w *Websearch) Setup(cfg *config.Config) bool

func (*Websearch) SetupData added in v0.1.1

func (w *Websearch) SetupData(_ *config.Config, ctx context.Context)

type Workable added in v0.0.20

type Workable interface {
	Cleanup()
	Entries(ctx context.Context, term string) []util.Entry
	General() *config.GeneralModule
	Refresh()
	Setup(cfg *config.Config) bool
	SetupData(cfg *config.Config, ctx context.Context)
}

Directories

Path Synopsis
wlr
Package wlr implements the wlr_foreign_toplevel_management_unstable_v1 protocol
Package wlr implements the wlr_foreign_toplevel_management_unstable_v1 protocol

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL