From 3a28bee3bfbbaa346099498a3f2f84d4c5c92abf Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 21 Dec 2024 12:11:30 -0500 Subject: [PATCH] khal, todoman, vdirsyncer: added --- programs | 4 ++++ src/dot_config/private_khal/config | 15 +++++++++++++ src/dot_config/todoman/config.py | 5 +++++ .../vdirsyncer/create_private_config | 21 +++++++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 src/dot_config/private_khal/config create mode 100644 src/dot_config/todoman/config.py create mode 100644 src/dot_config/vdirsyncer/create_private_config diff --git a/programs b/programs index 24c3ef0..4371b61 100644 --- a/programs +++ b/programs @@ -81,6 +81,10 @@ tinyxxd fcitx5 fcitx5-chinese-addons fcitx5-configtool +# calendaring/todo management +khal +todoman +vdirsyncer # in the aur tmsu diff --git a/src/dot_config/private_khal/config b/src/dot_config/private_khal/config new file mode 100644 index 0000000..120779e --- /dev/null +++ b/src/dot_config/private_khal/config @@ -0,0 +1,15 @@ +[calendars] + +[[calendar_local]] +path = ~/.local/share/vdirsyncer/cal/* +type = discover + +[locale] +timeformat = %H:%M +dateformat = %Y-%m-%d +longdateformat = %Y-%m-%d +datetimeformat = %Y-%m-%d %H:%M +longdatetimeformat = %Y-%m-%d %H:%M + +[default] +default_calendar = Personal diff --git a/src/dot_config/todoman/config.py b/src/dot_config/todoman/config.py new file mode 100644 index 0000000..1a0a001 --- /dev/null +++ b/src/dot_config/todoman/config.py @@ -0,0 +1,5 @@ +path = "~/.local/share/vdirsyncer/cal/*" +date_format = "%Y-%m-%d" +time_format = "%H:%M" +default_list = "Personal" +default_due = 48 diff --git a/src/dot_config/vdirsyncer/create_private_config b/src/dot_config/vdirsyncer/create_private_config new file mode 100644 index 0000000..4ff5cfe --- /dev/null +++ b/src/dot_config/vdirsyncer/create_private_config @@ -0,0 +1,21 @@ +[general] +status_path = "~/.local/share/vdirsyncer/status" + +[pair calendar] +a = "calendar_local" +b = "calendar_remote" +conflict_resolution = "b wins" +collections = ["from a", "from b"] +metadata = ["color", "displayname"] + +[storage calendar_local] +type = "filesystem" +path = "~/.local/share/vdirsyncer/cal/" +fileext=".ics" + +[storage calendar_remote] +type = "caldav" + +url = "" +username = "user" +password = ""