X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=parser-specs%2Fconfig.spec;h=25be5cf107e2bef2eebdba243980ee04085c9efa;hb=037cb317cb1eb6dc6929dad65d549b5a22e5b2b3;hp=bdd035655e64647b34659e927f4309a04c54cd40;hpb=89d3f93bec03547cf5b07b1e120aa07374b2dd64;p=i3%2Fi3 diff --git a/parser-specs/config.spec b/parser-specs/config.spec index bdd03565..25be5cf1 100644 --- a/parser-specs/config.spec +++ b/parser-specs/config.spec @@ -45,7 +45,7 @@ state INITIAL: exectype = 'exec_always', 'exec' -> EXEC colorclass = 'client.background' -> COLOR_SINGLE - colorclass = 'client.focused_inactive', 'client.focused', 'client.unfocused', 'client.urgent' + colorclass = 'client.focused_inactive', 'client.focused', 'client.unfocused', 'client.urgent', 'client.placeholder' -> COLOR_BORDER # We ignore comments and 'set' lines (variables). @@ -278,6 +278,8 @@ state FONT: state BINDING: release = '--release' -> + whole_window = '--whole-window' + -> modifiers = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Shift', 'Control', 'Ctrl', 'Mode_switch', '$mod' -> '+' @@ -288,8 +290,10 @@ state BINDING: state BINDCOMMAND: release = '--release' -> + whole_window = '--whole-window' + -> command = string - -> call cfg_binding($bindtype, $modifiers, $key, $release, $command) + -> call cfg_binding($bindtype, $modifiers, $key, $release, $whole_window, $command) ################################################################################ # Mode configuration @@ -333,8 +337,10 @@ state MODE_BINDING: state MODE_BINDCOMMAND: release = '--release' -> + whole_window = '--whole-window' + -> command = string - -> call cfg_mode_binding($bindtype, $modifiers, $key, $release, $command); MODE + -> call cfg_mode_binding($bindtype, $modifiers, $key, $release, $whole_window, $command); MODE ################################################################################ # Bar configuration (i3bar) @@ -364,6 +370,7 @@ state BAR: 'output' -> BAR_OUTPUT 'tray_output' -> BAR_TRAY_OUTPUT 'font' -> BAR_FONT + 'separator_symbol' -> BAR_SEPARATOR_SYMBOL 'binding_mode_indicator' -> BAR_BINDING_MODE_INDICATOR 'workspace_buttons' -> BAR_WORKSPACE_BUTTONS 'strip_workspace_numbers' -> BAR_STRIP_WORKSPACE_NUMBERS @@ -422,13 +429,17 @@ state BAR_OUTPUT: -> call cfg_bar_output($output); BAR state BAR_TRAY_OUTPUT: - output = string + output = word -> call cfg_bar_tray_output($output); BAR state BAR_FONT: font = string -> call cfg_bar_font($font); BAR +state BAR_SEPARATOR_SYMBOL: + separator = string + -> call cfg_bar_separator_symbol($separator); BAR + state BAR_BINDING_MODE_INDICATOR: value = word -> call cfg_bar_binding_mode_indicator($value); BAR