Add focus workspace command

This commit is contained in:
Orestis Floros
2023-01-22 18:33:23 +01:00
parent 8d64937054
commit c52f13900d
6 changed files with 38 additions and 13 deletions

View File

@ -186,6 +186,7 @@ state WORKSPACE_NUMBER:
# focus output <output>
# focus tiling|floating|mode_toggle
# focus parent|child
# focus workspace
# focus
state FOCUS:
direction = 'left', 'right', 'up', 'down'
@ -198,8 +199,10 @@ state FOCUS:
-> call cmd_focus_window_mode($window_mode)
level = 'parent', 'child'
-> call cmd_focus_level($level)
workspace = 'workspace'
-> call cmd_focus(1)
end
-> call cmd_focus()
-> call cmd_focus(0)
state FOCUS_AUTO:
'sibling'