Get The List Of Open App Windows In Yabai

March - 2022

If you have jq installed do this:

yabai -m query --windows | jq '.[] | { app: .app, title: .title }'

Otherwise, just run the yabai command itself:

yabai -m query --windows