Missing signals to support yabai on multiple displays
Sayrus opened this issue · comments
Mathis Raguin commented
When changing display to an already active space, yabai will not trigger the space_changed
signal. However, adding the following signal will fix the problem:
yabai -m signal --add label=labi event=display_changed \
action="osascript -e 'tell application \"Übersicht\" to refresh widget id \"nibar-spaces-primary-jsx\"'"
yabai -m signal --add label=labo event=display_changed \
action="osascript -e 'tell application \"Übersicht\" to refresh widget id \"nibar-spaces-secondary-jsx\"'"
Note: This will trigger two refresh if you both change display and active space.
Mathis Raguin commented
The signal for window open/close is also missing (To remove the °
)
Gadzhi Kharkharov commented
Nice, thanks for the tip! I was wondering why the bar doesn’t update when changing displays but never got to figuring it out 😅
Probably would be useful to add this info to the README.
Gadzhi Kharkharov commented
mentioned this in the readme