Skip to content

lollar1337/TravelynxPolybar

Repository files navigation

TravelynxPolybar

a Module to view your Travelynx Status and notify about Delay/Next Stops

Screenshot of the Module

Screenshot of the Module

Screenshot of the Module

Dependencies

  • You need curl and jq.

  • Your API Key from Travelynx.

Module

[module/train]
type = custom/script
exec = ~/.config/polybar/train.sh
tail = true

Options in train.sh

Screenshot of the Module

Generate a API Key on the "Generieren/Generate" Button and then Copy the Part that is currently blurred out on my end.

API_KEY=

Set to "true" to receive Next Stop Notifications on every Step on your Journey, "false" will disable that.

NOTIFICATIONS_NEXT_STOP="true"

Set to "true" to receive Notifications about current Delays on your Journey, "false" will disable that.

NOTIFICATIONS_DELAY="true"

Set to "DE" to have the Module output everything in German, set to "EN" to have the Module output everything in English.

LANGUAGE="DE"

Set your Symbol for infront of the Text in Polybar, set "" for no Symbol. (Standard uses a Train Symbol from Googles Material Icons)

SYMBOL=""

Releases

No releases published

Packages

No packages published

Languages