summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-05-23 11:46:06 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-05-23 11:46:06 +0900
commit29b3b6af4b02136897f996b0b70166fcd19921f0 (patch)
tree0c75501256c6ffdbd3b04260e13237af2f0982ca
parent5bfcbf51837380bb54226cad7794e9353c5f05ed (diff)
modified bin/qndl
-rwxr-xr-xar/.local/bin/qndl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/qndl b/ar/.local/bin/qndl
index a481c27..2907e76 100755
--- a/ar/.local/bin/qndl
+++ b/ar/.local/bin/qndl
@@ -113,7 +113,7 @@ done
# Enqueue the download task with tsp
FILENAME=$($SIMULATION_CMD 2>/dev/null)
-rm -rf /tmp/qplaylist
+[ -f /tmp/qplaylist ] && rm -rf /tmp/qplaylist
notify-send "⏳ Downloading $DOWNLOAD_TYPE:" "$FILENAME"
idnum=$(tsp bash -c "$YTDL_CMD")
pkill -RTMIN+21 "${STATUSBAR:-dwmblocks}"