summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2023-02-11 22:51:14 -0600
committermsglm <msglm@techchud.xyz>2023-02-11 22:51:14 -0600
commit8cb1e7ff9654884b2c1b5257e7a57e3641d3370d (patch)
tree03740547ae1e1c5a8d08b21cc090b44d4eb232c1 /.local
parent1cf8c16a9dd56bd3e2d4af806bfe671fcab1ff42 (diff)
downloadmsglm-dotfiles-master.tar.gz
msglm-dotfiles-master.tar.bz2
msglm-dotfiles-master.zip
sortunsorted now uses trash cliHEADmaster
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