aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-11-02 21:11:38 +0800
committerGuangxiong Lin <[email protected]>2021-11-02 21:11:38 +0800
commita90b7c9b4fd877a8f427e17864a2089f97bcc01b (patch)
treed48f83502e046aa5956f274b8236add298495a90
parent6d22aaa4d72ff91c56cb3aa85da8bb53a19b28dd (diff)
downloaddotfiles-a90b7c9b4fd877a8f427e17864a2089f97bcc01b.tar.gz
dotfiles-a90b7c9b4fd877a8f427e17864a2089f97bcc01b.tar.bz2
dotfiles-a90b7c9b4fd877a8f427e17864a2089f97bcc01b.zip
Add trash config
-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