aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/offlineimap/config30
-rwxr-xr-xinstall15
2 files changed, 45 insertions, 0 deletions
diff --git a/config/offlineimap/config b/config/offlineimap/config
new file mode 100755
index 0000000..704985a
--- /dev/null
+++ b/config/offlineimap/config
@@ -0,0 +1,30 @@
+# vim: set ft=config:
+[general]
+accounts = email
+maxsyncaccounts = 4
+
+[Repository email-remote]
+type = IMAP
+remotehost = imap.seznam.cz
+remoteuser = cynerd@email.cz
+ssl = yes
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+
+[Repository email-local]
+type = Maildir
+localfolders = ~/.mail/email
+
+[Account email]
+localrepository = email-local
+remoterepository = email-remote
+status_backend = sqlite
+autorefresh = 5
+quick = 5
+
+[mbnames]
+enabled = yes
+filename = ~/.mutt/mailboxes
+header = "mailboxes "
+peritem = "+%(foldername)s"
+sep = " "
+footer = "\n"
diff --git a/install b/install
index becc24c..a2fa367 100755
--- a/install
+++ b/install
@@ -26,6 +26,21 @@ if [[ $REPLY =~ ^[Yy]?$ ]]; then
echo "Please don't forget to setup YouCompleteMe"
fi
+read -p "Install email synchronization? (Y/n) "
+if [[ $REPLY =~ ^[Yy]?$ ]]; then
+ inst local/bin/annoyme ~/.local/bin/
+ inst local/sbin/annoyme-request ~/.local/sbin/
+ inst local/sbin/syncemail ~/.local/sbin/
+ inst config/offlineimap/ ~/.config/offlineimap
+ inst config/systemd/user/syncemail.service ~/.config/systemd/user
+fi
+
+read -p "Install mutt configuration? (Y/n) "
+if [[ $REPLY =~ ^[Yy]?$ ]]; then
+ inst mutt/ ~/.mutt
+ inst urlview ~/.urlview
+fi
+
read -p "Install i3 configuration and related tools? (Y/n) "
if [[ $REPLY =~ ^[Yy]?$ ]]; then
inst xinitrc ~/.xinitrc