danruto / bar

A status bar widget for Ubersicht on OS X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bar

Bar is an Übersicht widget that places a customizable bar on your desktop.

Spotify

Elements

from Left to Right, in the same order:

  • chunkwm: Tilling mode (first icon)
  • chunkwm: Current active desktop (next 6 icons, number of icons changes according to current number of active desktops)
  • Currently playing music from Spotify
  • Weather of current location
  • Load average
  • Battery
  • Current active input
  • Date/Time

Requirements

  • nodeJS (brew install node)

Installation

  1. Clone this repo to your Übersicht widgets directory.
$ git clone https://github.com/adwinying/bar $HOME/Library/Application\ Support/Übersicht/widgets
  1. Download required dependencies:
$ cd $HOME/Library/Application\ Support/Übersicht/widgets/bar
$ npm install
  1. Create a custom config file (custom configs go here):
$ cp lib/custom.js.example lib/custom.js

Space configuration

It's possible to get chunkwm to update when spaces are switched. You can use the following in your ~/.skhdrc.

cmd - 1 : khd -p "cmd + alt - 1" && uberrefresh Workspace
...

uberrefresh is a shell script included in this repository. Symlink it to /usr/local/bin

$ ln -s scripts/refresh.sh /usr/local/bin
$ mv /usr/local/bin/refresh.sh /usr/local/bin/uberrefresh

Questions?

If you find a bug or have any questions about Bar, submit an issue.

About

A status bar widget for Ubersicht on OS X


Languages

Language:JavaScript 87.7%Language:Shell 12.3%