From 2c262a87705530f043ffc91f11bf926800743934 Mon Sep 17 00:00:00 2001 From: haui Date: Fri, 30 Jan 2026 13:59:20 +0100 Subject: [PATCH] get working kde popup --- main.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 6e62af4..f8c7a5d 100755 --- a/main.sh +++ b/main.sh @@ -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