state

package
v0.13.26 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppState

type AppState struct {
	ModulesStarted      bool
	ActiveItem          *int
	Hidebar             bool
	AutoSelect          bool
	Preselected         *int
	Clipboard           modules.Workable
	ConfigError         error
	IsDebug             bool
	IsDmenu             bool
	Dmenu               *modules.Dmenu
	DmenuResultChan     chan string
	DmenuStreamDone     chan struct{}
	DmenuStreamAdded    chan int
	DmenuStreamId       int
	ExplicitConfig      string
	ExplicitModules     []string
	DmenuShowChan       chan bool
	ExplicitPlaceholder string
	ExplicitTheme       string
	ForcePrint          bool
	HasUI               bool
	IsRunning           bool
	IsService           bool
	KeepSort            bool
	Password            bool
	IsSingle            bool
	Labels              []string
	LabelsF             []string
	UsedLabels          []string
	InitialQuery        string
	LastQuery           string
	JSRuntime           string
	WidthOverwrite      int
	HeightOverwrite     int
	OldSizeData         *OldSizeData
	SupportsLayerShell  bool
}

func Get

func Get() *AppState

func (*AppState) StartServiceableModules

func (app *AppState) StartServiceableModules()

type OldSizeData added in v0.13.6

type OldSizeData struct {
	BoxWidth      int
	BoxHeight     int
	ListWidth     int
	ListHeight    int
	ListMinWidth  int
	ListMinHeight int
	ListMaxWidth  int
	ListMaxHeight int
}

Jump to

Keyboard shortcuts

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