add parser config for empty_workspaces config variable

This commit is contained in:
Akos Horvath 2023-02-24 18:06:11 +01:00
parent 3056caf6e3
commit 5bbb3b7ad4

View File

@ -40,6 +40,7 @@ state INITIAL:
'assign' -> ASSIGN 'assign' -> ASSIGN
'no_focus' -> NO_FOCUS 'no_focus' -> NO_FOCUS
'focus_follows_mouse' -> FOCUS_FOLLOWS_MOUSE 'focus_follows_mouse' -> FOCUS_FOLLOWS_MOUSE
'empty_workspaces' -> EMPTY_WORKSPACES
'mouse_warping' -> MOUSE_WARPING 'mouse_warping' -> MOUSE_WARPING
'focus_wrapping' -> FOCUS_WRAPPING 'focus_wrapping' -> FOCUS_WRAPPING
'force_focus_wrapping' -> FORCE_FOCUS_WRAPPING 'force_focus_wrapping' -> FORCE_FOCUS_WRAPPING
@ -269,6 +270,11 @@ state FOCUS_FOLLOWS_MOUSE:
value = word value = word
-> call cfg_focus_follows_mouse($value) -> call cfg_focus_follows_mouse($value)
# empty_workspaces bool
state EMPTY_WORKSPACES:
value = word
-> call cfg_empty_workspaces($value)
# mouse_warping warping_t # mouse_warping warping_t
state MOUSE_WARPING: state MOUSE_WARPING:
value = 'none', 'output' value = 'none', 'output'