summaryrefslogtreecommitdiff
path: root/bin/common/ytclipo
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-10 15:16:21 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-10 15:16:21 +0100
commit5d7cb2848ddafd56d9b9267c495f57d405bb906c (patch)
tree37cd91b2efec8bee66fe95d2254ea172d936e1cb /bin/common/ytclipo
parente7e1a3e08b4497c695cfce14743579d94123c8ca (diff)
added notification to ytclipo
Diffstat (limited to 'bin/common/ytclipo')
-rwxr-xr-xbin/common/ytclipo2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/common/ytclipo b/bin/common/ytclipo
index ee5bf0f..0ac412c 100755
--- a/bin/common/ytclipo
+++ b/bin/common/ytclipo
@@ -9,9 +9,11 @@ echo "inp: ${inp}" 1>&2
# works when link is from yt-local
inp="$(echo -n "$inp" | awk -F 'https?://' '{print $NF}')"
echo "inp: ${inp}" 1>&2
+notify-send "ytclipo" "<b>ytclipo</b><br><i>downloading</i> $inp"
yt-dlp "$inp" \
-f "b" \
-S "res:720" \
-P "$HOME/vids" \
-o "%(title)s.%(ext)s"
+notify-send "ytclipo" "<b>ytclipo</b><br>finished downloading."