mirror of
https://github.com/liclac/ambient
synced 2024-11-25 13:10:16 +00:00
Add ÖBB RailJet widgets
This commit is contained in:
parent
e73b4bb4e6
commit
a080d03f73
1 changed files with 12 additions and 0 deletions
12
widgets.d/trains/AT_OEBB.fish
Normal file
12
widgets.d/trains/AT_OEBB.fish
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
if set -q AMBIENT_AT_OEBB_STOP_NEXT
|
||||||
|
echo " $AMBIENT_AT_OEBB_STOP_NEXT"
|
||||||
|
end
|
||||||
|
if [ -n "$AMBIENT_AT_OEBB_STOP_NEXT_ARRIVE_FORECAST" ]
|
||||||
|
echo " $AMBIENT_AT_OEBB_STOP_NEXT_ARRIVE_FORECAST"
|
||||||
|
end
|
||||||
|
if set -q AMBIENT_AT_OEBB_TRAIN_TYPE
|
||||||
|
echo " $AMBIENT_AT_OEBB_TRAIN_TYPE-$AMBIENT_AT_OEBB_VZN"
|
||||||
|
end
|
||||||
|
if set -q AMBIENT_AT_OEBB_SPEED
|
||||||
|
echo " $AMBIENT_AT_OEBB_SPEED km/h"
|
||||||
|
end
|
Loading…
Reference in a new issue