You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mac OS one can either minimise a window (Cmd+M by default) or hide the application altogether (Cmd+H). Whereas yabai -m query --windows --space [n] shows if a window is minimised, it seems to be agnostic about whether the app is hidden or not (which, in this case, it is):
Here visible=1 simply indicates that the space (2) is visible on its associated display (1). I think it'd make more sense if visible=0 if the app is hidden; failing that, there should be a hidden key.
The following Applescript snippet works as I'd expect:
target_app="WhatsApp"
osascript -e "tell application \"System Events\" to get visible of first process whose name is \"${target_app}\" "
false
The text was updated successfully, but these errors were encountered:
On Mac OS one can either minimise a window (Cmd+M by default) or hide the application altogether (Cmd+H). Whereas
yabai -m query --windows --space [n]
shows if a window is minimised, it seems to be agnostic about whether the app is hidden or not (which, in this case, it is):Here
visible=1
simply indicates that the space (2) is visible on its associated display (1). I think it'd make more sense ifvisible=0
if the app is hidden; failing that, there should be ahidden
key.The following Applescript snippet works as I'd expect:
The text was updated successfully, but these errors were encountered: