traewelling,fish: fix some formatting
This commit is contained in:
parent
1a771f5af1
commit
ef8f869c70
2 changed files with 1 additions and 1 deletions
1
home.nix
1
home.nix
|
@ -104,7 +104,6 @@ in
|
||||||
# check träwelling
|
# check träwelling
|
||||||
traewelling
|
traewelling
|
||||||
set_color normal
|
set_color normal
|
||||||
echo
|
|
||||||
end
|
end
|
||||||
function edit-todo
|
function edit-todo
|
||||||
hx ~/sync/todo.txt
|
hx ~/sync/todo.txt
|
||||||
|
|
|
@ -31,6 +31,7 @@ pkgs.writeShellScriptBin "traewelling" ''
|
||||||
date -d "@$(( $(date -d "$(j .train.destination.arrival)" +%s) - $(date +%s) - 60 * 60))" +%H:%M
|
date -d "@$(( $(date -d "$(j .train.destination.arrival)" +%s) - $(date +%s) - 60 * 60))" +%H:%M
|
||||||
) at $(j .train.destination.rilIdentifier) $(j .train.destination.arrivalPlatformReal)"
|
) at $(j .train.destination.rilIdentifier) $(j .train.destination.arrivalPlatformReal)"
|
||||||
echo "bahn.expert: https://bahn.expert/details/$(j .train.lineName | sed -E 's/(.*?) .*/\1/g')%20$(j .train.journeyNumber)"
|
echo "bahn.expert: https://bahn.expert/details/$(j .train.lineName | sed -E 's/(.*?) .*/\1/g')%20$(j .train.journeyNumber)"
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
''
|
''
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue