summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-07-17 13:18:52 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-07-17 13:18:52 -0400
commitfc3eefc5ee59e819dff1426226c1d9689391bb73 (patch)
tree84e7c54ce4f83f188c23f28770454a7e25c1f31e /.local
parentd3b1e5371a7c147a0ee756d95542921bcabd8e68 (diff)
downloadeibhear-fc3eefc5ee59e819dff1426226c1d9689391bb73.tar.gz
eibhear-fc3eefc5ee59e819dff1426226c1d9689391bb73.tar.zst
eibhear-fc3eefc5ee59e819dff1426226c1d9689391bb73.zip
revertion to fix #763
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/qndl2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/qndl b/.local/bin/qndl
index 2236c66..f5bd14f 100755
--- a/.local/bin/qndl
+++ b/.local/bin/qndl
@@ -6,7 +6,7 @@ base="$(basename "$1")"
notify-send "⏳ Queuing $base..."
cmd="$2"
[ -z "$cmd" ] && cmd="youtube-dl --add-metadata"
-idnum="$(tsp "$cmd" "$1")"
+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 "👍 $realname done."