Skip to content
/ bar Public

Menubar with focus, time, CPU temperature, and battery using Übersicht

License

Notifications You must be signed in to change notification settings

vrishk/bar

Repository files navigation

Bar

A simple menubar created using Übersicht. Inspired by zenbar

Screenshot of Bar

Consists of the following features:

  • Focused/currently active app (focus.jsx)
  • Date and time (time.jsx)
  • CPU Temperature (cpu.jsx)
  • Battery charge and status (battery.jsx)

Installation

Make sure you have Übersicht installed.

The Focused widget makes use of yabai, the window manager for macOS. If you do not wish to use yabai, replace the line in focus.jsx:

export const command = "/usr/local/bin/yabai -m query --windows --window";

with the corresponding AppleScript command:

export const command =
  "osascript -e 'tell application \"System Events\"' -e 'set frontApp to name of first application process whose frontmost is true' -e 'end tell'";

The CPU Temperature widget makes use of osx-cpu-temp. Install it with brew install osx-cpu-temp.

Run the following command:

git clone https://github.com/vrishk/bar $HOME/Library/Application\ Support/Übersicht/widgets/bar

About

Menubar with focus, time, CPU temperature, and battery using Übersicht

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published