summaryrefslogtreecommitdiffstats
path: root/.scripts/tools/qndl
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-22 16:39:58 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-22 16:39:58 -0500
commitf575dadeefc6d8b58b3f13b12a315b25de2332b5 (patch)
treefb200733f0fdd66fa23fb5ab97070e2b1de86ab2 /.scripts/tools/qndl
parentf3d33a0b67ebc1f15a12673645935a5cbde0300d (diff)
downloadeibhear-f575dadeefc6d8b58b3f13b12a315b25de2332b5.tar.gz
eibhear-f575dadeefc6d8b58b3f13b12a315b25de2332b5.tar.zst
eibhear-f575dadeefc6d8b58b3f13b12a315b25de2332b5.zip
note bloat gone; pix replaced with emojis
Diffstat (limited to '.scripts/tools/qndl')
-rwxr-xr-x.scripts/tools/qndl4
1 files changed, 2 insertions, 2 deletions
diff --git a/.scripts/tools/qndl b/.scripts/tools/qndl
index ffe3647..a99d37e 100755
--- a/.scripts/tools/qndl
+++ b/.scripts/tools/qndl
@@ -2,10 +2,10 @@
# $1 is a url; $2 is a command
[ -z "$1" ] && exit
base="$(basename "$1")"
-notify-send -i "$PIX/dl.svg" "Queuing $base..."
+notify-send "⏳ Queuing $base..."
cmd="$2"
[ -z "$cmd" ] && cmd="youtube-dl --add-metadata"
idnum="$(tsp $cmd "$1")"
realname="$(echo "$base" | sed "s/?\(source\|dest\).*//;s/%20/ /g")"
tsp -D "$idnum" mv "$base" "$realname"
-tsp -D "$idnum" notify-send -i "$PIX/check.svg" "$realname done."
+tsp -D "$idnum" notify-send "👍 $realname done."