aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-08-07 15:58:16 +0300
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-08-07 15:58:16 +0300
commitd021a581919d142a873ecc77ce03b11fbc38e548 (patch)
tree98906c9c954390f645155b748e18231ba9346d67
parenta275ae5653018aa7fb1a34bed421a02efff42310 (diff)
downloaddotfiles-d021a581919d142a873ecc77ce03b11fbc38e548.tar.gz
dotfiles-d021a581919d142a873ecc77ce03b11fbc38e548.tar.bz2
dotfiles-d021a581919d142a873ecc77ce03b11fbc38e548.zip
add mutt idle for instant email
-rwxr-xr-xmutt/notify.sh2
-rw-r--r--muttrc11
2 files changed, 7 insertions, 6 deletions
diff --git a/mutt/notify.sh b/mutt/notify.sh
index d8fd6cc..4dbc0f6 100755
--- a/mutt/notify.sh
+++ b/mutt/notify.sh
@@ -21,7 +21,7 @@ then
touch ~/.mutt/newmail
else
xset -led 1
-if [ -e ~/.mutt/newmai ];then
+if [ -e ~/.mutt/newmail ];then
rm ~/.mutt/newmail
fi
fi
diff --git a/muttrc b/muttrc
index dbdb8fb..c24872f 100644
--- a/muttrc
+++ b/muttrc
@@ -1,6 +1,3 @@
-# Load passwords
-#source "gpg2 -dq $HOME/.mutt/pass.gpg |"
-
# Source
source ~/.mutt/sol.muttrc
source ~/.mutt/crypto.rc
@@ -39,8 +36,12 @@ set realname = "Vasil Zlatanov"
set editor = "vim"
# Basic config, you can leave this as is
-set mail_check = 3
-set timeout = 15
+set imap_idle
+set imap_check_subscribed
+unset imap_passive
+unset imap_peek
+set mail_check = 600
+set timeout = 300
unset imap_passive
set header_cache=~/.muttlocal/cache/headers
set message_cachedir=~/.muttlocal/cache/bodies