mirror of https://github.com/captn3m0/dotfiles.git
Adds khal and vdirsync configurations
This commit is contained in:
parent
77b83130b3
commit
9f0f06a036
|
@ -0,0 +1,31 @@
|
||||||
|
[calendars]
|
||||||
|
# https://lostpackets.de/khal/configure.html
|
||||||
|
|
||||||
|
[[personal]]
|
||||||
|
path = ~/.calendars/radicale/96d6eacc-da02-4c04-81e6-d52f07b7e7bf/
|
||||||
|
color = dark blue
|
||||||
|
priority = 20
|
||||||
|
|
||||||
|
# TODO: Change this to VCard sync
|
||||||
|
[[birthdays]]
|
||||||
|
path = ~/.calendars/radicale/calendar/
|
||||||
|
readonly = True
|
||||||
|
color = "#9b59b6"
|
||||||
|
|
||||||
|
[[recurse]]
|
||||||
|
path = ~/.calendars/recurse/
|
||||||
|
readonly = True
|
||||||
|
color = "#2ecc71"
|
||||||
|
|
||||||
|
[view]
|
||||||
|
theme = dark
|
||||||
|
agenda_event_format = "{calendar-color}[{start-end-time-style}] {title} {repeat-symbol} {reset}"
|
||||||
|
|
||||||
|
[default]
|
||||||
|
default_calendar = personal
|
||||||
|
|
||||||
|
[locale]
|
||||||
|
default_timezone = "Asia/Kolkata"
|
||||||
|
longdatetimeformat = "%d %b %Y (%H:%M)"
|
||||||
|
longdateformat = "%d %b %Y"
|
||||||
|
timeformat = "%I:%M"
|
|
@ -0,0 +1,43 @@
|
||||||
|
# Run `vdirsyncer --help` for CLI usage.
|
||||||
|
|
||||||
|
# This file doesn't document all available parameters, see
|
||||||
|
# http://vdirsyncer.pimutils.org/ for the rest of them.
|
||||||
|
|
||||||
|
[general]
|
||||||
|
# A folder where vdirsyncer can store some metadata about each pair.
|
||||||
|
status_path = "~/.vdirsyncer/status/"
|
||||||
|
|
||||||
|
[pair recurse]
|
||||||
|
a = "recurse_local"
|
||||||
|
b = "recurse_remote"
|
||||||
|
collections = null
|
||||||
|
|
||||||
|
[storage recurse_local]
|
||||||
|
type = "filesystem"
|
||||||
|
path = "~/.calendars/recurse/"
|
||||||
|
fileext = ".ics"
|
||||||
|
|
||||||
|
[storage recurse_remote]
|
||||||
|
type = "http"
|
||||||
|
# single line password entry so it doesn't need pass-show
|
||||||
|
url.fetch = ["command", "pass", "Keys/recurse_calendar_url"]
|
||||||
|
|
||||||
|
# CALDAV
|
||||||
|
[pair radicale]
|
||||||
|
a = "radicale_local"
|
||||||
|
b = "radicale_remote"
|
||||||
|
collections = ["96d6eacc-da02-4c04-81e6-d52f07b7e7bf", "calendar"]
|
||||||
|
|
||||||
|
# Calendars also have a color property
|
||||||
|
metadata = ["displayname", "color"]
|
||||||
|
|
||||||
|
[storage radicale_local]
|
||||||
|
type = "filesystem"
|
||||||
|
path = "~/.calendars/radicale"
|
||||||
|
fileext = ".ics"
|
||||||
|
|
||||||
|
[storage radicale_remote]
|
||||||
|
type = "caldav"
|
||||||
|
url = "https://radicale.bb8.fun/nemo/df10ebc5-b72c-c12d-b279-d80633b1ebe8/"
|
||||||
|
username = "nemo"
|
||||||
|
password.fetch = ["command", "/home/nemo/projects/scripts/pass-show", "radicale.bb8.fun"]
|
Loading…
Reference in New Issue