Add some missing packages
authorMart Lubbers <mart@martlubbers.net>
Mon, 12 Nov 2018 09:04:48 +0000 (10:04 +0100)
committerMart Lubbers <mart@martlubbers.net>
Mon, 12 Nov 2018 09:04:48 +0000 (10:04 +0100)
email/.config/offlineimap/config
email/.config/offlineimap/offlineimap.py
email/.mutt/newmail.sh
pkgs.sh

index 5dcf2ae..621d9e4 100644 (file)
@@ -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]
index 9e1bd88..1a4bf03 100644 (file)
@@ -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")
index ff9ebf6..84c30c6 100755 (executable)
@@ -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 (file)
--- 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