A Alfred workflow using yabai to switch between windows
Note: yabai and jq shoule be installed.
- Use
yabai -m query --windows
to get all windows info- Use
yabai -m space --focus 2
andyabai -m window window-id
to switch to specific window- Use
jq
to handle data
-
Input keyword
win
-
Press
↩︎
to switch