get working kde popup

This commit is contained in:
haui 2026-01-30 13:59:20 +01:00
parent 5d20c07a54
commit 2c262a8770

View file

@ -1,8 +1,12 @@
#!/bin/sh
while /bin/true; do
#if json quote list exist
if [ -f "./quotes.txt" ]; then
shuf -n 1 ./quotes.txt
CurrentQuote=$(shuf -n 1 ./quotes.txt)
#echo ${CurrentQuote}
kdialog --passivepopup "${CurrentQuote}"
else
echo "file does not exist!"
fi
sleep 300
done