A fork of clarity with a simpler design fit for macOS
This version is designed to blend with macOS Big Sur's new menu bar, with a workspace indicator that's visible when a padding of 8px is set on all sides of the screen using yabai.
This version is designed as a full width custom menu bar with workspace indicators, app title, and status bar items, while the built-in macOS menu bar is hidden. The height is approximately 20px, and is best used with an additional 8px padding set to all sides of the screen using yabai, in addition to padding for the top bar.
Clone this repo to your Übersicht widgets directory.
$ git clone https://github.com/wernjie/clarity $HOME/Library/Application\ Support/Übersicht/widgets/clarity
If you prefer Clarity v1, switch to the v1
branch. Then, refer to the README for Clarity v1 instead.
$ cd $HOME/Library/Application\ Support/Übersicht/widgets/clarity && git checkout v1
- Font Awesome 5 Free Solid — used for symbols in the statusbar widget
There is one widget for displaying workspaces with multi-display support.
The widgets for displaying yabai workspaces and window titles don't refresh 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 id \"tracesof.Uebersicht\" to refresh widget id \"clarity-spaces-jsx\"'"
yabai -m signal --add event=display_changed \
action="osascript -e 'tell application id \"tracesof.Uebersicht\" to refresh widget id \"clarity-spaces-jsx\"'"
- Your wallpaper should not be too busy or too bright, as this status bar has no background.