Skip to content
forked from wxwern/clarity

Simple macOS-style status bar powered by Übersicht and yabai

License

Notifications You must be signed in to change notification settings

rosenpin/clarity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clarity

A fork of clarity with a simpler design fit for macOS

Screenshots

Clarity by rosenpin

image

Clarity v2

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.

Clarity v1

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.

Installation

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

Dependencies

Usage

Yabai workspaces widgets

There is one widget for displaying workspaces with multi-display support.

Refreshing yabai workspaces widget

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\"'"

Caveats

  • Your wallpaper should not be too busy or too bright, as this status bar has no background.

About

Simple macOS-style status bar powered by Übersicht and yabai

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.5%
  • Shell 18.5%