Replies: 2 comments
-
You can verify this easily using these two signals: yabai -m signal --add event=window_destroyed action="osascript -e 'display notification \"window_destroyed\"'"
yabai -m signal --add event=application_terminated action="osascript -e 'display notification \"application_terminated\"'" |
Beta Was this translation helpful? Give feedback.
-
@dominiklohmann if I quit a program with In theory this shouldn't be a problem: if I link the action a) I close the last window of a space without quitting the program -> b) I quit a program and there are no more windows left on that space -> In practice, it seems that the space is only destroyed if I close the last window without quitting the program. |
Beta Was this translation helpful? Give feedback.
-
I'm using the following code to automatically destroy an empty space
the action associated to the
window_destroyed
event works without problems, but the one associated to theapplication_terminated
event doesn't seem to do anything.I've tested different actions with the same event and they all work, for example
creates the file
spaces
in the home directory andcat
returns the correct space.Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions