# We have an end token here for all the commands which just call some
# function without using an explicit 'end' token.
end ->
+ error ->
'#' -> IGNORE_LINE
'set' -> IGNORE_LINE
bindtype = 'bindsym', 'bindcode', 'bind' -> BINDING
# We ignore comments and 'set' lines (variables).
state IGNORE_LINE:
- end, string
+ line
-> INITIAL
# floating_minimum_size <width> x <height>
-> WORKSPACE_OUTPUT_STR
state WORKSPACE_OUTPUT_STR:
- output = string
+ output = word
-> call cfg_workspace($workspace, $output)
# ipc-socket <path>
# popup_during_fullscreen
state POPUP_DURING_FULLSCREEN:
- value = 'ignore', 'leave_fullscreen'
+ value = 'ignore', 'leave_fullscreen', 'smart'
-> call cfg_popup_during_fullscreen($value)
# client.background <hexcolor>
# bindsym/bindcode
state BINDING:
- modifiers = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Shift', 'Control', 'Ctrl', 'Mode_switch'
+ release = '--release'
+ ->
+ modifiers = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Shift', 'Control', 'Ctrl', 'Mode_switch', '$mod'
->
'+'
->
state MODE:
end ->
+ error ->
'#' -> MODE_IGNORE_LINE
'set' -> MODE_IGNORE_LINE
bindtype = 'bindsym', 'bindcode', 'bind'
# We ignore comments and 'set' lines (variables).
state MODE_IGNORE_LINE:
- end, string
+ line
-> MODE
state MODE_BINDING:
- modifiers = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Shift', 'Control', 'Ctrl', 'Mode_switch'
+ release = '--release'
+ ->
+ modifiers = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Shift', 'Control', 'Ctrl', 'Mode_switch', '$mod'
->
'+'
->
state BAR:
end ->
+ error ->
'#' -> BAR_IGNORE_LINE
'set' -> BAR_IGNORE_LINE
- 'i3bar_command' -> BAR_BAR_COMMAND
- 'status_command' -> BAR_STATUS_COMMAND
- 'socket_path' -> BAR_SOCKET_PATH
- 'mode' -> BAR_MODE
- 'modifier' -> BAR_MODIFIER
- 'position' -> BAR_POSITION
- 'output' -> BAR_OUTPUT
- 'tray_output' -> BAR_TRAY_OUTPUT
- 'font' -> BAR_FONT
- 'workspace_buttons' -> BAR_WORKSPACE_BUTTONS
- 'verbose' -> BAR_VERBOSE
- 'colors' -> BAR_COLORS_BRACE
+ 'i3bar_command' -> BAR_BAR_COMMAND
+ 'status_command' -> BAR_STATUS_COMMAND
+ 'socket_path' -> BAR_SOCKET_PATH
+ 'mode' -> BAR_MODE
+ 'hidden_state' -> BAR_HIDDEN_STATE
+ 'id' -> BAR_ID
+ 'modifier' -> BAR_MODIFIER
+ 'position' -> BAR_POSITION
+ 'output' -> BAR_OUTPUT
+ 'tray_output' -> BAR_TRAY_OUTPUT
+ 'font' -> BAR_FONT
+ 'binding_mode_indicator' -> BAR_BINDING_MODE_INDICATOR
+ 'workspace_buttons' -> BAR_WORKSPACE_BUTTONS
+ 'verbose' -> BAR_VERBOSE
+ 'colors' -> BAR_COLORS_BRACE
'}'
-> call cfg_bar_finish(); INITIAL
# We ignore comments and 'set' lines (variables).
state BAR_IGNORE_LINE:
- end, string
+ line
-> BAR
state BAR_BAR_COMMAND:
-> call cfg_bar_socket_path($path); BAR
state BAR_MODE:
- mode = 'dock', 'hide'
+ mode = 'dock', 'hide', 'invisible'
-> call cfg_bar_mode($mode); BAR
+state BAR_HIDDEN_STATE:
+ hidden_state = 'hide', 'show'
+ -> call cfg_bar_hidden_state($hidden_state); BAR
+
+state BAR_ID:
+ bar_id = word
+ -> call cfg_bar_id($bar_id); BAR
+
state BAR_MODIFIER:
modifier = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Control', 'Ctrl', 'Shift'
-> call cfg_bar_modifier($modifier); BAR
font = string
-> call cfg_bar_font($font); BAR
+state BAR_BINDING_MODE_INDICATOR:
+ value = word
+ -> call cfg_bar_binding_mode_indicator($value); BAR
+
state BAR_WORKSPACE_BUTTONS:
value = word
-> call cfg_bar_workspace_buttons($value); BAR
end ->
'#' -> BAR_COLORS_IGNORE_LINE
'set' -> BAR_COLORS_IGNORE_LINE
- colorclass = 'background', 'statusline'
+ colorclass = 'background', 'statusline', 'separator'
-> BAR_COLORS_SINGLE
colorclass = 'focused_workspace', 'active_workspace', 'inactive_workspace', 'urgent_workspace'
-> BAR_COLORS_BORDER
# We ignore comments and 'set' lines (variables).
state BAR_COLORS_IGNORE_LINE:
- end, string
+ line
-> BAR_COLORS
state BAR_COLORS_SINGLE: