Documentation
¶
Index ¶
- Variables
- type ActivationMode
- type Anchors
- type Applications
- type Box
- type BoxWidget
- type Builtins
- type Clipboard
- type Commands
- type Config
- type CustomCommand
- type CustomCommands
- type Dmenu
- type Emojis
- type Finder
- type GeneralModule
- type ImageWidget
- type LabelWidget
- type List
- type ListItemWidget
- type ListWrapper
- type Margins
- type Plugin
- type PromptWidget
- type Runner
- type SSH
- type Scroll
- type Search
- type SearchWidget
- type SearchWrapper
- type SpinnerWidget
- type Switcher
- type TextWrapper
- type UI
- type UICfg
- type Websearch
- type Widget
- type Window
- type Windows
Constants ¶
This section is empty.
Variables ¶
View Source
var Themes embed.FS
Functions ¶
This section is empty.
Types ¶
type ActivationMode ¶ added in v0.0.40
type Applications ¶ added in v0.0.71
type Applications struct { GeneralModule `mapstructure:",squash"` Actions bool `mapstructure:"actions"` Cache bool `mapstructure:"cache"` PrioritizeNew bool `mapstructure:"prioritize_new"` ContextAware bool `mapstructure:"context_aware"` }
type Box ¶ added in v0.6.0
type Box struct { BoxWidget `mapstructure:",squash"` Scroll Scroll `mapstructure:"scroll"` Revert bool `mapstructure:"revert"` Search SearchWrapper `mapstructure:"search"` }
type Builtins ¶ added in v0.1.0
type Builtins struct { Applications Applications `mapstructure:"applications"` Clipboard Clipboard `mapstructure:"clipboard"` Commands Commands `mapstructure:"commands"` CustomCommands CustomCommands `mapstructure:"custom_commands"` Emojis Emojis `mapstructure:"emojis"` Finder Finder `mapstructure:"finder"` Runner Runner `mapstructure:"runner"` SSH SSH `mapstructure:"ssh"` Switcher Switcher `mapstructure:"switcher"` Websearch Websearch `mapstructure:"websearch"` Windows Windows `mapstructure:"windows"` }
type Clipboard ¶ added in v0.0.27
type Clipboard struct { GeneralModule `mapstructure:",squash"` ImageHeight int `mapstructure:"image_height"` MaxEntries int `mapstructure:"max_entries"` }
type Commands ¶ added in v0.1.0
type Commands struct {
GeneralModule `mapstructure:",squash"`
}
type Config ¶
type Config struct { ActivationMode ActivationMode `mapstructure:"activation_mode"` Builtins Builtins `mapstructure:"builtins"` Disabled []string `mapstructure:"disabled"` IgnoreMouse bool `mapstructure:"ignore_mouse"` List List `mapstructure:"list"` Plugins []Plugin `mapstructure:"plugins"` Search Search `mapstructure:"search"` Theme string `mapstructure:"theme"` ThemeBase []string `mapstructure:"theme_base"` Terminal string `mapstructure:"terminal"` Available []string `mapstructure:"-"` IsService bool `mapstructure:"-"` }
type CustomCommand ¶ added in v0.2.0
type CustomCommands ¶ added in v0.2.0
type CustomCommands struct { GeneralModule `mapstructure:",squash"` Commands []CustomCommand `mapstructure:"commands"` }
type Emojis ¶ added in v0.1.0
type Emojis struct {
GeneralModule `mapstructure:",squash"`
}
type Finder ¶ added in v0.1.0
type Finder struct { GeneralModule `mapstructure:",squash"` IgnoreGitIgnore bool `mapstructure:"ignore_gitignore"` Concurrency int `mapstructure:"concurrency"` }
type GeneralModule ¶ added in v0.1.0
type GeneralModule struct { Delay int `mapstructure:"delay"` EagerLoading bool `mapstructure:"eager_loading"` History bool `mapstructure:"history"` KeepSort bool `mapstructure:"keep_sort"` Name string `mapstructure:"name"` Placeholder string `mapstructure:"placeholder"` Prefix string `mapstructure:"prefix"` Refresh bool `mapstructure:"refresh"` SwitcherOnly bool `mapstructure:"switcher_only"` Theme string `mapstructure:"theme"` ThemeBase []string `mapstructure:"theme_base"` Typeahead bool `mapstructure:"typeahead"` ShowSubWhenSingle bool `mapstructure:"show_sub_when_single"` // internal HasInitialSetup bool `mapstructure:"-"` IsSetup bool `mapstructure:"-"` }
type ImageWidget ¶ added in v0.6.0
type LabelWidget ¶ added in v0.6.0
type ListItemWidget ¶ added in v0.6.0
type ListItemWidget struct { BoxWidget `mapstructure:",squash"` Revert bool `mapstructure:"revert"` ActivationLabel LabelWidget `mapstructure:"activation_label"` Icon ImageWidget `mapstructure:"icon"` Text TextWrapper `mapstructure:"text"` }
type ListWrapper ¶ added in v0.6.0
type ListWrapper struct { Widget `mapstructure:",squash"` Item ListItemWidget `mapstructure:"item"` Grid bool `mapstructure:"grid"` Orientation string `mapstructure:"orientation"` MinHeight int `mapstructure:"min_height"` MaxHeight int `mapstructure:"max_height"` MaxWidth int `mapstructure:"max_width"` MinWidth int `mapstructure:"min_width"` AlwaysShow bool `mapstructure:"always_show"` }
type Plugin ¶ added in v0.1.0
type Plugin struct { GeneralModule `mapstructure:",squash"` Cmd string `mapstructure:"cmd"` CmdAlt string `mapstructure:"cmd_alt"` Matching util.MatchingType `mapstructure:"matching"` Src string `mapstructure:"src"` SrcOnce string `mapstructure:"src_once"` SrcOnceRefresh bool `mapstructure:"src_once_refresh"` Entries []util.Entry `mapstructure:"entries"` Terminal bool `mapstructure:"terminal"` }
type PromptWidget ¶ added in v0.6.6
type PromptWidget struct { LabelWidget `mapstructure:",squash"` Text string `mapstructure:"text"` }
type Runner ¶ added in v0.0.34
type Runner struct { GeneralModule `mapstructure:",squash"` Excludes []string `mapstructure:"excludes"` Includes []string `mapstructure:"includes"` ShellConfig string `mapstructure:"shell_config"` GenericEntry bool `mapstructure:"generic_entry"` }
type SSH ¶ added in v0.1.0
type SSH struct { GeneralModule `mapstructure:",squash"` ConfigFile string `mapstructure:"config_file"` HostFile string `mapstructure:"host_file"` }
type Scroll ¶ added in v0.6.0
type Scroll struct { Widget `mapstructure:",squash"` List ListWrapper `mapstructure:"list"` OverlayScrolling bool `mapstructure:"overlay_scrolling"` HScrollbarPolicy string `mapstructure:"h_scrollbar_policy"` VScrollbarPolicy string `mapstructure:"v_scrollbar_policy"` }
type SearchWidget ¶ added in v0.6.0
type SearchWrapper ¶ added in v0.6.0
type SearchWrapper struct { BoxWidget `mapstructure:",squash"` Revert bool `mapstructure:"revert"` Input SearchWidget `mapstructure:"input"` Prompt PromptWidget `mapstructure:"prompt"` Spinner SpinnerWidget `mapstructure:"spinner"` }
type SpinnerWidget ¶ added in v0.6.0
type SpinnerWidget struct {
Widget `mapstructure:",squash"`
}
type Switcher ¶ added in v0.1.0
type Switcher struct {
GeneralModule `mapstructure:",squash"`
}
type TextWrapper ¶ added in v0.6.0
type TextWrapper struct { BoxWidget `mapstructure:",squash"` Label LabelWidget `mapstructure:"label"` Revert bool `mapstructure:"revert"` Sub LabelWidget `mapstructure:"sub"` }
type UI ¶ added in v0.1.0
type UI struct { Anchors Anchors `mapstructure:"anchors"` Fullscreen bool `mapstructure:"fullscreen"` IgnoreExclusive bool `mapstructure:"ignore_exclusive"` Window Window `mapstructure:"window"` // internal AlignMap map[string]gtk.Align `mapstructure:"-"` IconSizeMap map[string]gtk.IconSize `mapstructure:"-"` IconSizeIntMap map[string]int `mapstructure:"-"` JustifyMap map[string]gtk.Justification `mapstructure:"-"` OrientationMap map[string]gtk.Orientation `mapstructure:"-"` ScrollPolicyMap map[string]gtk.PolicyType `mapstructure:"-"` }
func (*UI) InitUnitMaps ¶ added in v0.6.0
func (u *UI) InitUnitMaps()
type Websearch ¶ added in v0.0.83
type Websearch struct { GeneralModule `mapstructure:",squash"` Engines []string `mapstructure:"engines"` }
type Widget ¶ added in v0.6.0
type Widget struct { CssClasses []string `mapstructure:"css_classes"` HAlign string `mapstructure:"h_align"` HExpand bool `mapstructure:"h_expand"` Height int `mapstructure:"height"` Hide bool `mapstructure:"hide"` Margins Margins `mapstructure:"margins"` Name string `mapstructure:"name"` Opacity float64 `mapstructure:"opacity"` VAlign string `mapstructure:"v_align"` VExpand bool `mapstructure:"h_expand"` Width int `mapstructure:"width"` }
type Windows ¶ added in v0.5.6
type Windows struct {
GeneralModule `mapstructure:",squash"`
}
Click to show internal directories.
Click to hide internal directories.