diff options
author | msglm <msglm@techchud.xyz> | 2023-02-11 22:51:14 -0600 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-02-11 22:51:14 -0600 |
commit | 8cb1e7ff9654884b2c1b5257e7a57e3641d3370d (patch) | |
tree | 03740547ae1e1c5a8d08b21cc090b44d4eb232c1 | |
parent | 1cf8c16a9dd56bd3e2d4af806bfe671fcab1ff42 (diff) | |
download | msglm-dotfiles-8cb1e7ff9654884b2c1b5257e7a57e3641d3370d.tar.gz msglm-dotfiles-8cb1e7ff9654884b2c1b5257e7a57e3641d3370d.tar.bz2 msglm-dotfiles-8cb1e7ff9654884b2c1b5257e7a57e3641d3370d.zip |
-rwxr-xr-x | .local/bin/sortunsorted | 6 |
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 |