summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/sortunsorted6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/sortunsorted b/.local/bin/sortunsorted
index 7691ca3..2fd72b2 100755
--- a/.local/bin/sortunsorted
+++ b/.local/bin/sortunsorted
@@ -4,7 +4,7 @@
#Axioms: UNSORTEDDIR
-#Dependencies: https://packages.debian.org/sid/mpv
+#Dependencies: https://packages.debian.org/sid/mpv https://packages.debian.org/sid/trash-cli
numofvids=1
playablevideo="$(find ~/Videos/unsorted/ -maxdepth 1 -type f | shuf | head -1)"
@@ -36,7 +36,7 @@ then
exit
elif [ "$Choice" = 'n' ]
then
- rm "$playablevideo"
+ trash "$playablevideo"
else
echo "You did nothing..."
fi
@@ -69,7 +69,7 @@ do
fi
elif [ "$Choice" = 'n' ]
then
- rm "$playablevideo"
+ trash "$playablevideo"
else
echo "You did nothing..."
fi