1.1.1 • Published 5 years ago

bitbar-online v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

bitbar-online


Features

  • True Internet connectivity status on your Mac status bar
  • Different icons display connectivity status at a glance
  • Takes minimal space on the status bar
  • Shows LAN IP and gateway IP
  • Queries and displays your public IP address
  • Refreshes every 10 seconds

Installation

Requires Node. So far, only tested with version 11.1.

Go to your BitBar plugin directory:

$ cd "$(defaults read com.matryer.BitBar pluginsDirectory)"

Clone the plugin into your BitBar plugin directory:

$ git clone https://github.com/colbin8r/bitbar-online

Install dependencies:

$ cd bitbar-online
$ npm i

Activate the plugin with a symlink:

$ cd ..
$ ln -s bitbar-online/online.10s.js

Refresh your BitBar to verify everything works!

Changing the update interval

By default, the plugin refreshes every 10 seconds. You can always open the dropdown and manually refresh it if you like.

The update interval is encoded in the name of the file in the BitBar plugins directory. To change it, just change the name of the symlink:

$ cd "$(defaults read com.matryer.BitBar pluginsDirectory)"
$ mv online.10s.js online.1m.js # Change to 1 minute

Uninstalling

Remove the symlink and plugin folder:

$ cd "$(defaults read com.matryer.BitBar pluginsDirectory)"
$ rm online.10s.js
$ rm -rf bitbar-online