From 8cb1e7ff9654884b2c1b5257e7a57e3641d3370d Mon Sep 17 00:00:00 2001 From: msglm Date: Sat, 11 Feb 2023 22:51:14 -0600 Subject: sortunsorted now uses trash cli --- .local/bin/sortunsorted | 6 +++--- 1 file 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 -- cgit v1.2.3