a Module to view your Travelynx Status and notify about Delay/Next Stops
-
You need
curl
andjq
. -
Your API Key from Travelynx.
[module/train]
type = custom/script
exec = ~/.config/polybar/train.sh
tail = true
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=""