aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.nnnrc1
-rw-r--r--crontab1
2 files changed, 2 insertions, 0 deletions
diff --git a/.nnnrc b/.nnnrc
index d1eea9b..40aa932 100755
--- a/.nnnrc
+++ b/.nnnrc
@@ -5,3 +5,4 @@ if [ ! -d $HOME/.config/nnn/plugins ]; then
fi
export NNN_PLUG='f:fzcd;v:imgview;j:autojump'
+[ -f /usr/bin/trash ] && export NNN_TRASH=1
diff --git a/crontab b/crontab
index d7f2c02..62ede56 100644
--- a/crontab
+++ b/crontab
@@ -1,2 +1,3 @@
*/30 * * * * /usr/bin/newsboat -x reload
*/10 * * * * /usr/bin/mbsync -a
+00 */3 * * * /usr/bin/trash-empty -f 30