Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
Binding defines a keybinding with related command.
type Bindings ¶
type Bindings []*Binding
Bindings is a list of keybindings.
type Command ¶
Command defines a command with criteria and possible chained sub commands.
type Config ¶
type Config struct { Modes map[string][]*Binding Workspaces map[uint]string Bars map[string]Bar Outputs map[string]Output Gaps struct { Inner uint Outer uint } // contains filtered or unexported fields }
Config defines the configuration of a compositor.
func LoadConfig ¶
LoadConfig loads config file from disk.
func (*Config) AddBinding ¶
AddBinding adds a binding to the current mode.
func (*Config) VarReplace ¶
VarReplace replaces variables with the actual value. TODO: implement this better
Click to show internal directories.
Click to hide internal directories.