From 4c9a4ba24952cad37d093de6e1166013664b8fd2 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Mon, 12 Nov 2018 10:04:48 +0100 Subject: [PATCH] Add some missing packages --- email/.config/offlineimap/config | 2 +- email/.config/offlineimap/offlineimap.py | 2 +- email/.mutt/newmail.sh | 2 ++ pkgs.sh | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/email/.config/offlineimap/config b/email/.config/offlineimap/config index 5dcf2ae..621d9e4 100644 --- a/email/.config/offlineimap/config +++ b/email/.config/offlineimap/config @@ -9,7 +9,7 @@ localrepository = Local remoterepository = Remote autorefresh = 0.5 quick = 10 -postsynchook = notmuch new && /home/mrl/.mutt/newmail.sh && vdirsyncer sync +postsynchook = /home/mrl/.mutt/newmail.sh #proxy = SOCKS5:localhost:8008 [Repository Local] diff --git a/email/.config/offlineimap/offlineimap.py b/email/.config/offlineimap/offlineimap.py index 9e1bd88..1a4bf03 100644 --- a/email/.config/offlineimap/offlineimap.py +++ b/email/.config/offlineimap/offlineimap.py @@ -15,4 +15,4 @@ def folderfilter(x): datetime.date(int(match.group(1)), int(match.group(2)), 1) ).days <= 31*6 else: - return not x.startswith('archive') + return not x.startswith('archive') and not (x == "INBOX.Junk") diff --git a/email/.mutt/newmail.sh b/email/.mutt/newmail.sh index ff9ebf6..84c30c6 100755 --- a/email/.mutt/newmail.sh +++ b/email/.mutt/newmail.sh @@ -4,3 +4,5 @@ if [ "$newmail" -ne 0 ] then notify-send "$newmail new emails!" fi +notmuch new +vdirsyncer sync diff --git a/pkgs.sh b/pkgs.sh index 29086a6..079bc06 100644 --- a/pkgs.sh +++ b/pkgs.sh @@ -1,5 +1,6 @@ sudo apt-get install \ bash-completion \ + bc \ build-essential \ curl \ dunst \ @@ -22,11 +23,13 @@ sudo apt-get install \ suckless-tools \ tmux \ unzip \ + urlview \ vdirsyncer \ vim \ w3m \ x11-xserver-utils \ xautolock \ + xdotool \ xinit mkdir -p ~/projects -- 2.20.1