From a90b7c9b4fd877a8f427e17864a2089f97bcc01b Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 2 Nov 2021 21:11:38 +0800 Subject: Add trash config --- .nnnrc | 1 + crontab | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.3