Documentation ¶
Index ¶
- Variables
- type AI
- type ActivationLabelWidget
- type ActivationMode
- type AiListWrapper
- type AiScroll
- type Anchors
- type Anthropic
- type AnthropicPrompt
- type ApplicationActions
- type Applications
- type Bar
- type BarEntry
- type BarEntryWrapper
- type BarWrapper
- type Blacklist
- type BookmarkEntry
- type BookmarkGroup
- type Bookmarks
- type Box
- type BoxWidget
- type Builtins
- type Calc
- type Clipboard
- type Commands
- type Config
- type CustomCommand
- type CustomCommands
- type Dmenu
- type Emojis
- type EventType
- type Events
- 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 Symbols
- type TextWrapper
- type UI
- type UICfg
- type Websearch
- type WebsearchEntry
- 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 AI ¶ added in v0.9.0
type AI struct { GeneralModule `mapstructure:",squash"` Anthropic Anthropic `mapstructure:"anthropic"` }
type ActivationLabelWidget ¶
type ActivationLabelWidget struct { LabelWidget `mapstructure:",squash"` Overlay bool `mapstructure:"overlay"` HideModifier bool `mapstructure:"hide_modifier"` }
type ActivationMode ¶
type AiListWrapper ¶ added in v0.9.2
type AiListWrapper struct { BoxWidget `mapstructure:",squash"` Item LabelWidget `mapstructure:"item"` }
type AiScroll ¶ added in v0.9.0
type AiScroll struct { Widget `mapstructure:",squash"` List AiListWrapper `mapstructure:"list"` OverlayScrolling bool `mapstructure:"overlay_scrolling"` HScrollbarPolicy string `mapstructure:"h_scrollbar_policy"` VScrollbarPolicy string `mapstructure:"v_scrollbar_policy"` }
type Anthropic ¶ added in v0.9.0
type Anthropic struct {
Prompts []AnthropicPrompt `mapstructure:"prompts"`
}
type AnthropicPrompt ¶ added in v0.9.10
type ApplicationActions ¶ added in v0.9.10
type Applications ¶
type Applications struct { GeneralModule `mapstructure:",squash"` Actions ApplicationActions `mapstructure:"actions"` Cache bool `mapstructure:"cache"` ContextAware bool `mapstructure:"context_aware"` PrioritizeNew bool `mapstructure:"prioritize_new"` ShowGeneric bool `mapstructure:"show_generic"` }
type BarEntryWrapper ¶ added in v0.8.0
type BarEntryWrapper struct { BoxWidget `mapstructure:",squash"` Icon ImageWidget `mapstructure:"icon"` Label LabelWidget `mapstructure:"label"` }
type BarWrapper ¶ added in v0.8.0
type BarWrapper struct { BoxWidget `mapstructure:",squash"` Position string `mapstructure:"position"` Entry BarEntryWrapper `mapstructure:"entry"` }
type BookmarkEntry ¶ added in v0.10.0
type BookmarkGroup ¶ added in v0.10.1
type BookmarkGroup struct { Label string `mapstructure:"label"` Prefix string `mapstructure:"prefix"` IgnoreUnprefixed bool `mapstructure:"ignore_unprefixed"` Entries []BookmarkEntry `mapstructure:"entries"` }
type Bookmarks ¶ added in v0.10.0
type Bookmarks struct { GeneralModule `mapstructure:",squash"` Groups []BookmarkGroup `mapstructure:"groups"` Entries []BookmarkEntry `mapstructure:"entries"` }
type Box ¶
type Box struct { BoxWidget `mapstructure:",squash"` Scroll Scroll `mapstructure:"scroll"` AiScroll AiScroll `mapstructure:"ai_scroll"` Revert bool `mapstructure:"revert"` Search SearchWrapper `mapstructure:"search"` Bar BarWrapper `mapstructure:"bar"` }
type Builtins ¶
type Builtins struct { Applications Applications `mapstructure:"applications"` AI AI `mapstructure:"ai"` Bookmarks Bookmarks `mapstructure:"bookmarks"` Calc Calc `mapstructure:"calc"` 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"` Symbols Symbols `mapstructure:"symbols"` Websearch Websearch `mapstructure:"websearch"` Windows Windows `mapstructure:"windows"` }
type Calc ¶ added in v0.7.0
type Calc struct { GeneralModule `mapstructure:",squash"` RequireNumber bool `mapstructure:"require_number"` }
type Clipboard ¶
type Clipboard struct { GeneralModule `mapstructure:",squash"` AvoidLineBreaks bool `mapstructure:"avoid_line_breaks"` ImageHeight int `mapstructure:"image_height"` MaxEntries int `mapstructure:"max_entries"` Exec string `mapstructure:"exec"` }
type Commands ¶
type Commands struct {
GeneralModule `mapstructure:",squash"`
}
type Config ¶
type Config struct { ActivationMode ActivationMode `mapstructure:"activation_mode"` AsWindow bool `mapstructure:"as_window"` Bar Bar `mapstructure:"bar"` Builtins Builtins `mapstructure:"builtins"` DisableClickToClose bool `mapstructure:"disable_click_to_close"` Disabled []string `mapstructure:"disabled"` Events Events `mapstructure:"events"` ForceKeyboardFocus bool `mapstructure:"force_keyboard_focus"` HotreloadTheme bool `mapstructure:"hotreload_theme"` IgnoreMouse bool `mapstructure:"ignore_mouse"` List List `mapstructure:"list"` Monitor string `mapstructure:"monitor"` Plugins []Plugin `mapstructure:"plugins"` Search Search `mapstructure:"search"` Terminal string `mapstructure:"terminal"` Theme string `mapstructure:"theme"` ThemeBase []string `mapstructure:"theme_base"` Timeout int `mapstructure:"timeout"` UseUWSM bool `mapstructure:"use_uwsm"` Available []string `mapstructure:"-"` IsService bool `mapstructure:"-"` }
type CustomCommand ¶
type CustomCommands ¶
type CustomCommands struct { GeneralModule `mapstructure:",squash"` Commands []CustomCommand `mapstructure:"commands"` }
type Emojis ¶
type Emojis struct { GeneralModule `mapstructure:",squash"` Exec string `mapstructure:"exec"` ExecAlt string `mapstructure:"exec_alt"` ShowUnqualified bool `mapstructure:"show_unqualified"` }
type Finder ¶
type Finder struct { GeneralModule `mapstructure:",squash"` UseFD bool `mapstructure:"use_fd"` IgnoreGitIgnore bool `mapstructure:"ignore_gitignore"` Concurrency int `mapstructure:"concurrency"` EagerLoading bool `mapstructure:"eager_loading"` }
type GeneralModule ¶
type GeneralModule struct { AutoSelect bool `mapstructure:"auto_select"` Blacklist []Blacklist `mapstructure:"blacklist"` Delay int `mapstructure:"delay"` History bool `mapstructure:"history"` Icon string `mapstructure:"icon"` KeepSort bool `mapstructure:"keep_sort"` MinChars int `mapstructure:"min_chars"` Name string `mapstructure:"name"` Placeholder string `mapstructure:"placeholder"` Prefix string `mapstructure:"prefix"` Refresh bool `mapstructure:"refresh"` ShowIconWhenSingle bool `mapstructure:"show_icon_when_single"` ShowSubWhenSingle bool `mapstructure:"show_sub_when_single"` SwitcherOnly bool `mapstructure:"switcher_only"` Theme string `mapstructure:"theme"` ThemeBase []string `mapstructure:"theme_base"` Typeahead bool `mapstructure:"typeahead"` Weight int `mapstructure:"weight"` // internal HasInitialSetup bool `mapstructure:"-"` IsSetup bool `mapstructure:"-"` }
type ImageWidget ¶
type LabelWidget ¶
type List ¶
type List struct { Cycle bool `mapstructure:"cycle"` KeyboardScrollStyle string `mapstructure:"keyboard_scroll_style"` MaxEntries int `mapstructure:"max_entries"` Placeholder string `mapstructure:"placeholder"` ShowInitialEntries bool `mapstructure:"show_initial_entries"` SingleClick bool `mapstructure:"single_click"` VisibilityThreshold int `mapstructure:"visibility_threshold"` }
type ListItemWidget ¶
type ListItemWidget struct { BoxWidget `mapstructure:",squash"` Revert bool `mapstructure:"revert"` ActivationLabel ActivationLabelWidget `mapstructure:"activation_label"` Icon ImageWidget `mapstructure:"icon"` Text TextWrapper `mapstructure:"text"` }
type ListWrapper ¶
type ListWrapper struct { AlwaysShow bool `mapstructure:"always_show"` Grid bool `mapstructure:"grid"` Item ListItemWidget `mapstructure:"item"` MaxHeight int `mapstructure:"max_height"` MaxWidth int `mapstructure:"max_width"` MinHeight int `mapstructure:"min_height"` MinWidth int `mapstructure:"min_width"` Orientation string `mapstructure:"orientation"` Placeholder LabelWidget `mapstructure:"placeholder"` Widget `mapstructure:",squash"` }
type Plugin ¶
type Plugin struct { GeneralModule `mapstructure:",squash"` Cmd string `mapstructure:"cmd"` CmdAlt string `mapstructure:"cmd_alt"` Entries []util.Entry `mapstructure:"entries"` LabelColumn int `mapstructure:"label_column"` Matching util.MatchingType `mapstructure:"matching"` RecalculateScore bool `mapstructure:"recalculate_score,omitempty" json:"recalculate_score,omitempty"` ResultColumn int `mapstructure:"result_column"` Separator string `mapstructure:"separator"` Src string `mapstructure:"src"` SrcOnce string `mapstructure:"src_once"` Terminal bool `mapstructure:"terminal"` Parser string `mapstructure:"parser"` KvSeparator string `mapstructure:"kv_separator"` Output bool `mapstructure:"output"` Keywords []string `mapstructure:"keywords"` }
type PromptWidget ¶
type PromptWidget struct { LabelWidget `mapstructure:",squash"` Text string `mapstructure:"text"` }
type Runner ¶
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 ¶
type SSH struct { GeneralModule `mapstructure:",squash"` ConfigFile string `mapstructure:"config_file"` HostFile string `mapstructure:"host_file"` }
type Scroll ¶
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 ¶
type SearchWrapper ¶
type SearchWrapper struct { BoxWidget `mapstructure:",squash"` Revert bool `mapstructure:"revert"` Input SearchWidget `mapstructure:"input"` Prompt PromptWidget `mapstructure:"prompt"` Spinner SpinnerWidget `mapstructure:"spinner"` }
type SpinnerWidget ¶
type SpinnerWidget struct {
Widget `mapstructure:",squash"`
}
type Switcher ¶
type Switcher struct {
GeneralModule `mapstructure:",squash"`
}
type Symbols ¶ added in v0.9.8
type Symbols struct { GeneralModule `mapstructure:",squash"` AfterCopy string `mapstructure:"after_copy"` }
type TextWrapper ¶
type TextWrapper struct { BoxWidget `mapstructure:",squash"` Label LabelWidget `mapstructure:"label"` Revert bool `mapstructure:"revert"` Sub LabelWidget `mapstructure:"sub"` }
type UI ¶
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 ¶
func (u *UI) InitUnitMaps()
type Websearch ¶
type Websearch struct { GeneralModule `mapstructure:",squash"` Entries []WebsearchEntry `mapstructure:"entries"` }
type WebsearchEntry ¶ added in v0.9.7
type Widget ¶
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 ¶
type Windows struct {
GeneralModule `mapstructure:",squash"`
}
Click to show internal directories.
Click to hide internal directories.