2026-01-30 11:48:07 +01:00
|
|
|
#!/bin/sh
|
2026-01-30 13:59:20 +01:00
|
|
|
while /bin/true; do
|
2026-01-30 11:48:07 +01:00
|
|
|
#if json quote list exist
|
2026-01-30 12:37:03 +01:00
|
|
|
if [ -f "./quotes.txt" ]; then
|
2026-01-30 13:59:20 +01:00
|
|
|
CurrentQuote=$(shuf -n 1 ./quotes.txt)
|
|
|
|
|
#echo ${CurrentQuote}
|
|
|
|
|
kdialog --passivepopup "${CurrentQuote}"
|
2026-01-30 11:48:07 +01:00
|
|
|
else
|
|
|
|
|
echo "file does not exist!"
|
|
|
|
|
fi
|
2026-01-30 13:59:20 +01:00
|
|
|
sleep 300
|
|
|
|
|
done
|