summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bashrc2
-rw-r--r--khal/config29
-rw-r--r--khard/khard.conf14
-rw-r--r--mutt/cache/headersbin3323648 -> 0 bytes
-rw-r--r--muttrc5
-rw-r--r--vdirsyncer/config60
6 files changed, 109 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index a8e3d63..81712cc 100644
--- a/bashrc
+++ b/bashrc
@@ -138,6 +138,8 @@ alias tuntagged="task tags.none: list"
alias ttoday="task ml_due_or_scheduled_today"
alias tl="/home/lemon/Documents/Notes/todo/todo.sh list"
alias t="/home/lemon/Documents/Notes/todo/todo.sh"
+alias khal="$HOME/src/virtualenvs/khal-venv/bin/khal"
+alias vdirsyncer="$HOME/src/virtualenvs/khal-venv/bin/vdirsyncer"
# Environment variables
export LEDGER_FILE="$HOME/Budget/ledger/hledger/budget.ledger"
diff --git a/khal/config b/khal/config
new file mode 100644
index 0000000..91b05b0
--- /dev/null
+++ b/khal/config
@@ -0,0 +1,29 @@
+[calendars]
+
+[[radicale]]
+path = ~/.calendars/radicale/3c6cbab1-0568-1872-a1e8-bc71501565a9
+color = brown
+priority = 10
+
+[[home]]
+path = ~/.calendars/fastmail/d575ba80-7a6c-4400-86ff-2d09f72b18f1
+color = light blue
+priority = 20
+
+[[public-holidays]]
+path = ~/.calendars/fastmail/65d5ab52-0cac-4c72-b786-0ebbde377b88
+color = light green
+
+[[google work]]
+path = ~/.calendars/fastmail/3e443339-3898-40bb-b1ac-5d3c6aeb4c33
+color = dark red
+
+[view]
+agenda_event_format = "{start-time} {title}"
+
+[default]
+default_calendar = "radicale"
+
+[locale]
+firstweekday = 0
+timeformat = "%H:%M"
diff --git a/khard/khard.conf b/khard/khard.conf
new file mode 100644
index 0000000..b6d6018
--- /dev/null
+++ b/khard/khard.conf
@@ -0,0 +1,14 @@
+[addressbooks]
+[[personal]]
+path = ~/.contacts/55caade5-39ac-f0d0-5a0f-373793eb6926/
+
+[general]
+debug = no
+default_action = list
+
+[contact table]
+display = first_name
+reverse = no
+show_uids = no
+sort = last_name
+localize_dates = yes
diff --git a/mutt/cache/headers b/mutt/cache/headers
deleted file mode 100644
index 645f996..0000000
--- a/mutt/cache/headers
+++ /dev/null
Binary files differ
diff --git a/muttrc b/muttrc
index 1b4dfb7..47808e4 100644
--- a/muttrc
+++ b/muttrc
@@ -204,8 +204,11 @@ bind index p recall-message
# Get mutt to understand the contacts command line prog which reads Contacts
#set query_command = "contacts -Sf '%eTOKEN%n' '%s' | sed -e 's/TOKEN/\t/g'"
+# khard
+set query_command = "/home/lemon/src/virtualenvs/khal-venv/bin/khard email --parsable %s"
+
## Abook
-set query_command= "abook --mutt-query '%s'"
+#set query_command= "abook --mutt-query '%s'"
macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
macro index,pager A "<pipe-message>abook --add-email<return>" "Add this sender to Abook"
bind editor <Tab> complete-query
diff --git a/vdirsyncer/config b/vdirsyncer/config
new file mode 100644
index 0000000..7db113e
--- /dev/null
+++ b/vdirsyncer/config
@@ -0,0 +1,60 @@
+[general]
+# A folder where vdirsyncer can store some metadata about each pair.
+status_path = "~/.vdirsyncer/status/"
+
+## CARDDAV
+[pair radicale_contacts]
+a = "radicale_contacts_local"
+b = "radicale_contacts_remote"
+
+collections = ["from a", "from b"]
+
+[storage radicale_contacts_local]
+type = "filesystem"
+path = "~/.contacts/"
+fileext = ".vcf"
+
+[storage radicale_contacts_remote]
+type = "carddav"
+url = "https://cal.16693433.xyz/radicale/lemon/55caade5-39ac-f0d0-5a0f-373793eb6926/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+
+# CALDAV
+[pair radicale]
+a = "radicale_local"
+b = "radicale_remote"
+collections = ["from a", "from b"]
+metadata = ["color", "displayname"]
+conflict_resolution = "b wins"
+
+[storage radicale_local]
+type = "filesystem"
+path = "~/.calendars/radicale/"
+fileext = ".ics"
+
+[storage radicale_remote]
+type = "caldav"
+url = "https://cal.16693433.xyz/radicale/lemon/3c6cbab1-0568-1872-a1e8-bc71501565a9/"
+username = "lemon"
+password.fetch = ["command", "pass", "show", "radicale_lemon_user"]
+
+[pair fastmail_calendar]
+a = "fastmail_calendar_local"
+b = "fastmail_calendar_remote"
+collections = ["from a", "from b"]
+
+# Calendars also have a color property
+metadata = ["displayname", "color"]
+
+[storage fastmail_calendar_local]
+type = "filesystem"
+path = "~/.calendars/fastmail/"
+fileext = ".ics"
+
+[storage fastmail_calendar_remote]
+type = "caldav"
+url = "https://caldav.fastmail.com/"
+username = "mrlemon@mailforce.net"
+password.fetch = ["command", "pass", "show", "evolution_email_fastmail"]