Update motdmb.sh

This commit is contained in:
denode 2026-03-23 13:40:12 +01:00
parent de53dbbca8
commit 0eac06068b

View file

@ -1,6 +1,6 @@
## (install chafa) ## (install chafa) (Mensa of the Day mit Bildern)
function motd() { function motd() {
mensen=(32) mensen=(32) #(6 matrix, 25 zelt, 32 johanna)
for mensa in "${mensen[@]}"; do for mensa in "${mensen[@]}"; do
curl -s https://api.studentenwerk-dresden.de/openmensa/v2/canteens/$mensa | jq -r .name curl -s https://api.studentenwerk-dresden.de/openmensa/v2/canteens/$mensa | jq -r .name
while read meal; do while read meal; do