0.3.2 • Published 5 years ago

vbb-anybar v0.3.2

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

vbb-anybar

Let the status bar show you when to catch the train.

npm version dependency status ISC-licensed gitter channel support me on Patreon

Installing

npm install -g vbb-anybar

Usage

This guide assumes you have the AnyBar app installed.

vbb-anybar needs the station where you want to catch the train and the direction, which is just the next station your train will pass. You can find them using vbb-stations-cli. To set them, run the following:

vbb-anybar init <station-id> <next-station-id> [<time-to-station>]

From now on, if you call vbb-anybar (without any arguments), it will talk to the AnyBar app and set a color that tells you when to leave. You would usually run this every few seconds.

time-to-station is an optional argument which allows you to configure a time (in minutes) for how long it takes you to get to the station. The color telling you when to leave will calculate with this time as well.

API

Usage:
    vbb-anybar
    vbb-anybar init <station-id> <next-station-id> [<time-to-station>]

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.