summaryrefslogtreecommitdiffstats
path: root/.local/bin/joblook
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/joblook')
-rwxr-xr-x.local/bin/joblook6
1 files changed, 3 insertions, 3 deletions
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