Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.19 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.19 KB

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