From: Mart Lubbers Date: Mon, 12 Nov 2018 09:04:48 +0000 (+0100) Subject: Add some missing packages X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=4c9a4ba24952cad37d093de6e1166013664b8fd2;p=dotfiles.git Add some missing packages --- 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