X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=parser-specs%2Fconfig.spec;h=dbdf83c2808aa076fce039a0a27313c8cb7c6953;hp=7a93b9fb95e17d5af69cc1e91bdfa5b2f407bf71;hb=3f126c61c409550c9af080a9813de9480ae0eaf7;hpb=20dc3271a73adae6f6d9f160d29caec28a3693d0 diff --git a/parser-specs/config.spec b/parser-specs/config.spec index 7a93b9fb..dbdf83c2 100644 --- a/parser-specs/config.spec +++ b/parser-specs/config.spec @@ -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) @@ -358,6 +364,8 @@ state BAR: 'hidden_state' -> BAR_HIDDEN_STATE 'id' -> BAR_ID 'modifier' -> BAR_MODIFIER + 'wheel_up_cmd' -> BAR_WHEEL_UP_CMD + 'wheel_down_cmd' -> BAR_WHEEL_DOWN_CMD 'position' -> BAR_POSITION 'output' -> BAR_OUTPUT 'tray_output' -> BAR_TRAY_OUTPUT @@ -403,6 +411,14 @@ state BAR_MODIFIER: modifier = 'Mod1', 'Mod2', 'Mod3', 'Mod4', 'Mod5', 'Control', 'Ctrl', 'Shift' -> call cfg_bar_modifier($modifier); BAR +state BAR_WHEEL_UP_CMD: + command = string + -> call cfg_bar_wheel_up_cmd($command); BAR + +state BAR_WHEEL_DOWN_CMD: + command = string + -> call cfg_bar_wheel_down_cmd($command); BAR + state BAR_POSITION: position = 'top', 'bottom' -> call cfg_bar_position($position); BAR @@ -412,7 +428,7 @@ 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: