From 7af1e7332cac8e4589817ddb6b29c222618d607a Mon Sep 17 00:00:00 2001 From: msglm Date: Fri, 27 Jan 2023 21:39:39 -0600 Subject: use trash and not rm in the job tools --- .local/bin/joblook | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/joblook') diff --git a/.local/bin/joblook b/.local/bin/joblook index a17dd2d..904bcd5 100755 --- a/.local/bin/joblook +++ b/.local/bin/joblook @@ -4,7 +4,7 @@ #Axioms: JOBDIR -#Dependencies: https://git.techchud.xyz/indeedwatcher +#Dependencies: https://git.techchud.xyz/indeedwatcher https://packages.debian.org/trash-cli numofjobs=1 @@ -18,7 +18,7 @@ then mv -v "$potentialjob" /home/$USER/Documents/Jobs/Considering/ elif [ "$Choice" = 'n' ] then - rm "$potentialjob" + trash "$potentialjob" fi fi @@ -31,7 +31,7 @@ do mv -v "$potentialjob" /home/$USER/Documents/Jobs/Considering/ elif [ "$Choice" = 'n' ] then - rm "$potentialjob" + trash "$potentialjob" fi potentialjob="$(find /home/"$USER"/Documents/Jobs/Potential -maxdepth 1 -type f | shuf | head -1)" numofjobs=$numofjobs+1 -- cgit v1.2.3