commit 2593b375b5efca7af932912a8edb1669b2df7931
parent 7de9d20ced2fc845fb1016dd8dde97be0d9fc03c
Author: regexghost <dev@regexghost.com>
Date: Sat, 20 Jun 2026 21:20:01 +0100
download-pods.sh updated and da alias
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dotfiles/.kshrc b/dotfiles/.kshrc
@@ -83,6 +83,7 @@ alias reload='. ~/.kshrc'
alias pong='ping -c 2 -W 2'
alias wp='feh --bg-fill --no-fehbg ~/.config/regexghost/wallpaper.jpg'
alias capture-window='echo "Focus window to capture" && sleep 1 && id="$(xdotool getactivewindow)" && echo "Got id" && sleep 1 && import -frame -window "$id"'
+alias da='download-vids && download-pods'
# Bug todo
diff --git a/terminal-scripts/download-pods.sh b/terminal-scripts/download-pods.sh
@@ -5,6 +5,8 @@ queueFile="${LOC}/toDownload.txt"
cp "$queueFile" /tmp/toDownload.txt
+[ $(cat "$queueFile" | wc -l) = "0" ] && echo "No podcasts queued" && exit
+
while read -r podcast_file; do
echo "$podcast_file"
curl -L "$podcast_file" > /tmp/out.mp3