Getting vdirsyncer & khal working, updating offlineimap to work with fastmail, misc spacemacs config updates
This commit is contained in:
2
bin/decrypt_password.sh
Executable file
2
bin/decrypt_password.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
gpg --batch --no-tty -d ~/.$1-password.gpg
|
||||||
11
khal.conf
11
khal.conf
@@ -161,6 +161,11 @@
|
|||||||
|
|
||||||
|
|
||||||
[calendars]
|
[calendars]
|
||||||
[[Google]]
|
[[Dustin Swan]]
|
||||||
path = ~/calendars/google
|
path = ~/Calendars/0f50fcf2-2ca8-4ce7-9be4-8ec0b3f21626
|
||||||
color = blue
|
|
||||||
|
[[IOCOM]]
|
||||||
|
path = ~/Calendars/fcd1ea6e-b8a1-4bec-a2ab-e0ffa2bdeae6
|
||||||
|
|
||||||
|
[[Our Stuff]]
|
||||||
|
path = ~/Calendars/395d2785-f8ff-4d5d-94c5-d65536ce150b
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[general]
|
[general]
|
||||||
accounts = IOCOM, Gmail
|
accounts = IOCOM, FastMail
|
||||||
pythonfile = ~/dotfiles/offlineimap.py
|
pythonfile = ~/dotfiles/offlineimap.py
|
||||||
|
|
||||||
|
|
||||||
@@ -19,18 +19,19 @@ remotepasseval = decrypt_password(".iocom-password.gpg")
|
|||||||
realdelete = no
|
realdelete = no
|
||||||
|
|
||||||
|
|
||||||
[Account Gmail]
|
[Account FastMail]
|
||||||
localrepository = GmailLocal
|
localrepository = FastMailLocal
|
||||||
remoterepository = GmailRemote
|
remoterepository = FastMailRemote
|
||||||
|
|
||||||
[Repository GmailLocal]
|
[Repository FastMailLocal]
|
||||||
type = Maildir
|
type = Maildir
|
||||||
localfolders = ~/Mail/Gmail
|
localfolders = ~/Mail/FastMail
|
||||||
|
|
||||||
[Repository GmailRemote]
|
[Repository FastMailRemote]
|
||||||
type = Gmail
|
type = IMAP
|
||||||
remoteuser = dustinswan@gmail.com
|
remotehost = mail.messagingengine.com
|
||||||
remotepasseval = decrypt_password(".gmail-password.gpg")
|
remoteuser = dustinswan@fastmail.com
|
||||||
|
remotepasseval = decrypt_password(".dustinswan@fastmail.com-password.gpg")
|
||||||
realdelete = no
|
realdelete = no
|
||||||
sslcacertfile=/usr/local/etc/openssl/osx_cert.pem
|
sslcacertfile=/usr/local/etc/openssl/osx_cert.pem
|
||||||
ssl = yes
|
ssl = yes
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
dotspacemacs-configuration-layers '(version-control
|
dotspacemacs-configuration-layers '(version-control
|
||||||
git
|
git
|
||||||
github
|
github
|
||||||
perforce
|
|
||||||
c-c++
|
c-c++
|
||||||
haskell
|
haskell
|
||||||
html
|
html
|
||||||
@@ -43,7 +42,7 @@
|
|||||||
syntax-checking)
|
syntax-checking)
|
||||||
|
|
||||||
;; A list of packages and/or extensions that will not be install and loaded.
|
;; 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
|
;; If non-nil spacemacs will delete any orphan packages, i.e. packages that
|
||||||
;; are declared in a layer which is not a member of
|
;; are declared in a layer which is not a member of
|
||||||
;; the list `dotspacemacs-configuration-layers'
|
;; the list `dotspacemacs-configuration-layers'
|
||||||
@@ -137,6 +136,10 @@
|
|||||||
"User initialization for Spacemacs. This function is called at the very
|
"User initialization for Spacemacs. This function is called at the very
|
||||||
startup."
|
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-magit-status-fullscreen t)
|
||||||
(setq-default git-enable-github-support 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-idle-timer 0 t)
|
||||||
'(ahs-inhibit-face-list nil)
|
'(ahs-inhibit-face-list nil)
|
||||||
'(erc-modules (quote (scrolltobottom)))
|
'(erc-modules (quote (scrolltobottom)))
|
||||||
|
'(js2-basic-offset 2)
|
||||||
'(paradox-github-token t)
|
'(paradox-github-token t)
|
||||||
'(ring-bell-function (quote ignore) t))
|
'(ring-bell-function (quote ignore) t))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
[general]
|
[general]
|
||||||
# A folder where vdirsyncer can store some metadata about each pair.
|
# A folder where vdirsyncer can store some metadata about each pair.
|
||||||
status_path = ~/.vdirsyncer/status/
|
status_path = ~/.vdirsyncer/status/
|
||||||
|
password_command = ~/dotfiles/bin/decrypt_password.sh
|
||||||
|
|
||||||
# CONTACTS
|
# CONTACTS
|
||||||
#[pair google_contacts]
|
#[pair google_contacts]
|
||||||
@@ -56,21 +57,21 @@ status_path = ~/.vdirsyncer/status/
|
|||||||
#verify = True
|
#verify = True
|
||||||
|
|
||||||
# CALDAV
|
# CALDAV
|
||||||
[pair google_calendar]
|
[pair fastmail_calendar]
|
||||||
a = google_calendar_local
|
a = fastmail_calendar_local
|
||||||
b = google_calendar_remote
|
b = fastmail_calendar_remote
|
||||||
#collections = private,work
|
collections = ["from b"]
|
||||||
|
|
||||||
[storage google_calendar_local]
|
[storage fastmail_calendar_local]
|
||||||
type = filesystem
|
type = filesystem
|
||||||
path = ~/Calendars/
|
path = ~/Calendars/
|
||||||
fileext = .ics
|
fileext = .ics
|
||||||
|
|
||||||
[storage google_calendar_remote]
|
[storage fastmail_calendar_remote]
|
||||||
type = caldav
|
type = caldav
|
||||||
url = https://www.google.com/calendar/dav/dustinswan@gmail.com/user
|
url = https://caldav.messagingengine.com/
|
||||||
auth = basic
|
auth = basic
|
||||||
username = dustinswan
|
username = dustinswan@fastmail.com
|
||||||
#verify = True
|
#verify = True
|
||||||
|
|
||||||
# Optional: Specify a time range which should be synchronized. Either both
|
# Optional: Specify a time range which should be synchronized. Either both
|
||||||
|
|||||||
Reference in New Issue
Block a user