Getting vdirsyncer & khal working, updating offlineimap to work with fastmail, misc spacemacs config updates

master
Dustin Swan 9 years ago
parent 0d19f199b7
commit ccf3304f80

@ -0,0 +1,2 @@
#!/bin/bash
gpg --batch --no-tty -d ~/.$1-password.gpg

@ -161,6 +161,11 @@
[calendars]
[[Google]]
path = ~/calendars/google
color = blue
[[Dustin Swan]]
path = ~/Calendars/0f50fcf2-2ca8-4ce7-9be4-8ec0b3f21626
[[IOCOM]]
path = ~/Calendars/fcd1ea6e-b8a1-4bec-a2ab-e0ffa2bdeae6
[[Our Stuff]]
path = ~/Calendars/395d2785-f8ff-4d5d-94c5-d65536ce150b

@ -1,5 +1,5 @@
[general]
accounts = IOCOM, Gmail
accounts = IOCOM, FastMail
pythonfile = ~/dotfiles/offlineimap.py
@ -19,18 +19,19 @@ remotepasseval = decrypt_password(".iocom-password.gpg")
realdelete = no
[Account Gmail]
localrepository = GmailLocal
remoterepository = GmailRemote
[Account FastMail]
localrepository = FastMailLocal
remoterepository = FastMailRemote
[Repository GmailLocal]
[Repository FastMailLocal]
type = Maildir
localfolders = ~/Mail/Gmail
localfolders = ~/Mail/FastMail
[Repository GmailRemote]
type = Gmail
remoteuser = dustinswan@gmail.com
remotepasseval = decrypt_password(".gmail-password.gpg")
[Repository FastMailRemote]
type = IMAP
remotehost = mail.messagingengine.com
remoteuser = dustinswan@fastmail.com
remotepasseval = decrypt_password(".dustinswan@fastmail.com-password.gpg")
realdelete = no
sslcacertfile=/usr/local/etc/openssl/osx_cert.pem
ssl = yes

@ -15,7 +15,6 @@
dotspacemacs-configuration-layers '(version-control
git
github
perforce
c-c++
haskell
html
@ -43,7 +42,7 @@
syntax-checking)
;; A list of packages and/or extensions that will not be install and loaded.
dotspacemacs-excluded-packages '()
dotspacemacs-excluded-packages '(org-bullets)
;; If non-nil spacemacs will delete any orphan packages, i.e. packages that
;; are declared in a layer which is not a member of
;; the list `dotspacemacs-configuration-layers'
@ -74,10 +73,10 @@
;; Default font. `powerline-scale' allows to quickly tweak the mode-line
;; size to make separators look not too crappy.
dotspacemacs-default-font '("Source Code Pro"
:size 11
:weight normal
:width normal
:powerline-scale 1.0)
:size 11
:weight normal
:width normal
:powerline-scale 1.0)
;; The leader key
dotspacemacs-leader-key "SPC"
@ -137,6 +136,10 @@
"User initialization for Spacemacs. This function is called at the very
startup."
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
("marmalade" . "https://marmalade-repo.org/packages/")
("melpa" . "http://melpa.org/packages/")))
(setq-default git-magit-status-fullscreen t)
(setq-default git-enable-github-support t)
)
@ -168,6 +171,7 @@ This function is called at the very end of Spacemacs initialization."
'(ahs-idle-timer 0 t)
'(ahs-inhibit-face-list nil)
'(erc-modules (quote (scrolltobottom)))
'(js2-basic-offset 2)
'(paradox-github-token t)
'(ring-bell-function (quote ignore) t))
(custom-set-faces

@ -4,6 +4,7 @@
[general]
# A folder where vdirsyncer can store some metadata about each pair.
status_path = ~/.vdirsyncer/status/
password_command = ~/dotfiles/bin/decrypt_password.sh
# CONTACTS
#[pair google_contacts]
@ -56,21 +57,21 @@ status_path = ~/.vdirsyncer/status/
#verify = True
# CALDAV
[pair google_calendar]
a = google_calendar_local
b = google_calendar_remote
#collections = private,work
[pair fastmail_calendar]
a = fastmail_calendar_local
b = fastmail_calendar_remote
collections = ["from b"]
[storage google_calendar_local]
[storage fastmail_calendar_local]
type = filesystem
path = ~/Calendars/
fileext = .ics
[storage google_calendar_remote]
[storage fastmail_calendar_remote]
type = caldav
url = https://www.google.com/calendar/dav/dustinswan@gmail.com/user
url = https://caldav.messagingengine.com/
auth = basic
username = dustinswan
username = dustinswan@fastmail.com
#verify = True
# Optional: Specify a time range which should be synchronized. Either both

Loading…
Cancel
Save