A yabai status bar widget for Übersicht.
NOTE: I recommend using this awesome bar instead: https://github.com/Jean-Tinland/simple-bar
- Show active workspace number (with multi-display support)
- Battery indicator
- WiFi strength indicator
- Connected WiFi name
- System load
- Date and time
- Volume
Clone this repo to your Übersicht widgets directory with the following command.
$ git clone git@github.com:AlexNaga/yabar.git $HOME/Library/Application\ Support/Übersicht/widgets/yabar
- SF Mono Fonts (optional)
There are two different widget styles. Enable one of the following widget in Übersicht.
yabar-main-0-jsx
yabar-main-1-jsx
The widgets for displaying yabai workspaces aren't refreshing automatically (to preserve battery). To refresh them, you can add these lines utilizing yabai's signals at the end of .yabairc
:
yabai -m signal --add event=space_changed \
action="osascript -e 'tell application \"Übersicht\" to refresh widget id \"yabar-workspace-jsx\"'"
yabai -m signal --add event=display_changed \
action="osascript -e 'tell application \"Übersicht\" to refresh widget id \"yabar-workspace-jsx\"'"
yabai -m signal --add event=application_front_switched \
action="osascript -e 'tell application \"Übersicht\" to refresh widget id \"yabar-workspace-jsx\"'"