Jean-Tinland / simple-bar

A yabai status bar widget for Übersicht
https://www.jeantinland.com/toolbox/simple-bar
MIT License
1.21k stars 129 forks source link

simple-bar randomly freezes with macOS sonoma #371

Closed alexgulbrandsen closed 11 months ago

alexgulbrandsen commented 1 year ago

Hello! After updating my IOS, the simple-bar is freezing and wont work properly. Is this a known issue? What can I do to fix it? Yabai is updated as well.

Jean-Tinland commented 11 months ago

I think I also observed this on my computer! It's difficult to debug is as each time it happens, I add logs in the app that trigger Übersicht fast refresh and make everything working again.

I'll try to find the source of this issue and let you know if I can resolve it.

Jean-Tinland commented 11 months ago

If simple-bar freezes after you restart yabai, this may simply because simple-bar needs to be refreshed after every yabai restart in order to re-enable its signals.

You can add this line at the begening your your .yabairc:

osascript -e 'tell application id "tracesOf.Uebersicht" to refresh'

Let me know if this solves your issue.

Jean-Tinland commented 11 months ago

I updated the installation section of the documentation (see "Update your yabai config" section).