[−][src]Module sway_conf::ast
Represents the command tree.
Modules
bind |
Structs
BindSym | An expression describing a key binding. |
Err | A fatal error returned by the parser. |
Exec | An expression runs the specified arguments in a shell subprocess. |
SetVar | An expression which sets a variable to a specific value. |
SwitchMode | An expression symbolizing switching to a specific mode. |
Unknown | A line which was not understood by the parser. |
Enums
Item | Represents a sway command. This may not directly correspond to a line in the config, due to possible line continuations or blocks. |
Functions
parse | Maps config stanzas into their more-detailed AST equivalents. |