Skip to content

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

License

Notifications You must be signed in to change notification settings

derhuerst/vbb-anybar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published