summaryrefslogtreecommitdiffstats
path: root/.local/bin/tools/qndl
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-05-19 20:05:14 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-05-19 20:05:14 -0400
commitc6e69e96421ebf192eb6de537324e269e7bfda78 (patch)
tree47d34a5ff72d65be9a3e2c6aeb55a88da3a6fbd2 /.local/bin/tools/qndl
parentbf8c6b1e20f42a7725d8d919830fdb274596b20f (diff)
downloadeibhear-c6e69e96421ebf192eb6de537324e269e7bfda78.tar.gz
eibhear-c6e69e96421ebf192eb6de537324e269e7bfda78.tar.zst
eibhear-c6e69e96421ebf192eb6de537324e269e7bfda78.zip
massive cleanup
Diffstat (limited to '.local/bin/tools/qndl')
-rwxr-xr-x.local/bin/tools/qndl11
1 files changed, 0 insertions, 11 deletions
diff --git a/.local/bin/tools/qndl b/.local/bin/tools/qndl
deleted file mode 100755
index a99d37e..0000000
--- a/.local/bin/tools/qndl
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# $1 is a url; $2 is a command
-[ -z "$1" ] && exit
-base="$(basename "$1")"
-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 "👍 $realname done."