fix exec to one liner

This commit is contained in:
Adrian Zürcher
2026-01-21 09:03:21 +01:00
parent 2c718824d2
commit 66c6d9a3fb

View File

@@ -120,16 +120,7 @@ jobs:
[Desktop Entry]
Type=Application
Name=Slideshow App
Exec=sh -c ' \
i=0; \
while [ $i -lt 30 ]; do \
if [ "$(ls -A /media/$USER 2>/dev/null)" ] && ping -c 1 -W 1 8.8.8.8 >/dev/null 2>&1; then \
break; \
fi; \
i=$((i+1)); \
sleep 1; \
done; \
cd /usr/share/slideshowapp && /usr/bin/slideshowapp'
Exec=sh -c 'i=0; while [ $i -lt 30 ]; do if [ "$(ls -A /media/$USER 2>/dev/null)" ] && ping -c 1 -W 1 8.8.8.8 >/dev/null 2>&1; then break; fi; i=$((i+1)); sleep 1; done; cd /usr/share/slideshowapp && /usr/bin/slideshowapp'
Terminal=false
EOF