X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=parser-specs%2Fconfig.spec;h=c31567a64b87d29dc340cd821621f15c2636fb45;hb=9aa016cffd918cb50f76ca3fc33dd98d4a01850c;hp=3a10bbc1c14df330da67ccebe489cfbd9e61d235;hpb=28f7e14650882d89fae2eee78291eeec8dd4e8fd;p=i3%2Fi3 diff --git a/parser-specs/config.spec b/parser-specs/config.spec index 3a10bbc1..c31567a6 100644 --- a/parser-specs/config.spec +++ b/parser-specs/config.spec @@ -142,7 +142,7 @@ state FOR_WINDOW_COMMAND: command = string -> call cfg_for_window($command) -# assign [→] workspace +# assign [→] [workspace | output] state ASSIGN: '[' -> call cfg_criteria_init(ASSIGN_WORKSPACE); CRITERIA @@ -150,6 +150,8 @@ state ASSIGN: state ASSIGN_WORKSPACE: '→' -> + 'output' + -> ASSIGN_OUTPUT 'workspace' -> 'number' @@ -157,6 +159,10 @@ state ASSIGN_WORKSPACE: workspace = string -> call cfg_assign($workspace, 0) +state ASSIGN_OUTPUT: + output = string + -> call cfg_assign_output($output) + state ASSIGN_WORKSPACE_NUMBER: number = string -> call cfg_assign($number, 1) @@ -206,7 +212,7 @@ state MOUSE_WARPING: # focus_wrapping state FOCUS_WRAPPING: - value = word + value = '1', 'yes', 'true', 'on', 'enable', 'active', '0', 'no', 'false', 'off', 'disable', 'inactive', 'force' -> call cfg_focus_wrapping($value) # force_focus_wrapping