aboutsummaryrefslogtreecommitdiff
path: root/cal/dot-config
diff options
context:
space:
mode:
Diffstat (limited to 'cal/dot-config')
-rw-r--r--cal/dot-config/khal/config97
-rw-r--r--cal/dot-config/khard/khard.conf17
-rw-r--r--cal/dot-config/vdirsyncer/config61
3 files changed, 175 insertions, 0 deletions
diff --git a/cal/dot-config/khal/config b/cal/dot-config/khal/config
new file mode 100644
index 0000000..b2f5c2f
--- /dev/null
+++ b/cal/dot-config/khal/config
@@ -0,0 +1,97 @@
+# vim: ft=dosini commentstring=#\ %s
+
+[calendars]
+
+[[google-basic]]
+path = ~/.local/share/vdirsyncer/calendars/google/m.r.karimi.j@gmail.com/
+color = dark blue
+
+[[google-mit]]
+path = ~/.local/share/vdirsyncer/calendars/google/e226ae4bc148235546e47f7f333b825b35642cd08018edd849c35840cc103167@group.calendar.google.com/
+color = dark red
+
+[[google-holiday-iran]]
+path = ~/.local/share/vdirsyncer/calendars/google/cln2sqbi4dk6ur39chgnig37e9nnas1eeon66obccln68obi5pjmurr7dhiisorfdk@virtual
+color = "#aaaaaa"
+
+[[google-holiday-switzerland]]
+path = ~/.local/share/vdirsyncer/calendars/google/cln2sor84dk6ur39chgnig37e9nnas1eeon66obccln68obi5pjmurr7dhiisorfdk@virtual
+color = "#aaaaaa"
+
+[[google-holiday-us]]
+path = ~/.local/share/vdirsyncer/calendars/google/cln2stbjc4hmgrrcd5i62ua0ctp6utbg5pr2sor1dhimsp31e8n6errfctm6abj3dtmg@virtual
+color = "#aaaaaa"
+
+[[moreka]]
+path = ~/.local/share/vdirsyncer/calendars/moreka.cc/b3f68fb7-93d3-2129-5b31-bb490d4bc387/
+color = dark magenta
+
+[locale]
+timeformat = %H:%M
+dateformat = %d.%m.%Y
+longdateformat = %d.%m.%Y
+datetimeformat = %d.%m.%Y %H:%M
+longdatetimeformat = %d.%m.%Y %H:%M
+
+[default]
+default_calendar = moreka
+highlight_event_days = True
+timedelta = 7d
+
+[view]
+frame = top
+
+[highlight_days]
+multiple = yellow
+
+[palette]
+# 1. Foreground color and settings for 16-color (normal) mode
+# 2. Background color for normal mode
+# 3. Settings for monochrome mode (optional)
+# 4. Foreground color and settings for 88 and 256-color modes (optional)
+# 5. Background color for 88 and 256-color modes (optional)
+
+header = 'light red', 'black'
+# ('footer', 'white', 'black'),
+'line header' = 'black', 'white', 'bold', '#ff0000', ''
+# ('alt header', 'white', '', 'bold'),
+# ('bright', 'dark blue', 'white', 'bold,standout'),
+# list = '', ''
+# list focused = 'white', 'light blue', 'bold'
+edit = 'black', 'white', '', '#cccccc', '#333333'
+edit focus = 'white', 'light red', 'bold'
+# ('button', 'black', 'dark cyan'),
+# ('button focused', 'white', 'light blue', 'bold'),
+#
+# ('reveal focus', 'black', 'light gray'),
+# ('today focus', 'white', 'dark magenta'),
+# ('today', 'dark gray', 'dark green',),
+#
+date header = 'white', 'black', '', '#cccccc,underline', 'black'
+date header focused = 'dark gray', 'black', 'bold', '#cccccc,bold', '#444444'
+date header selected = 'dark gray', 'black', '', '#cccccc,bold', '#333333'
+
+# ('date header', '', 'white'),
+# ('date header focused', 'white', 'dark gray', 'bold,standout'),
+# ('date header selected', 'dark gray', 'light cyan'),
+
+# ('dayname', 'light gray', ''),
+# ('monthname', 'light gray', ''),
+# ('weeknumber_right', 'light gray', ''),
+# ('alert', 'white', 'dark red'),
+# ('mark', 'white', 'dark green'),
+# ('frame', 'white', 'black'),
+# ('frame focus', 'light red', 'black'),
+# ('frame focus color', 'dark blue', 'black'),
+# ('frame focus top', 'dark magenta', 'black'),
+#
+# ('eventcolumn', '', '', ''),
+# ('eventcolumn focus', '', '', ''),
+# ('calendar', '', '', ''),
+# ('calendar focus', '', '', ''),
+#
+# ('editbx', 'light gray', 'dark blue'),
+# ('editcp', 'black', 'light gray', 'standout'),
+# ('popupbg', 'white', 'black', 'bold'),
+# ('popupper', 'white', 'dark cyan'),
+# ('caption', 'white', '', 'bold'),
diff --git a/cal/dot-config/khard/khard.conf b/cal/dot-config/khard/khard.conf
new file mode 100644
index 0000000..9ab1870
--- /dev/null
+++ b/cal/dot-config/khard/khard.conf
@@ -0,0 +1,17 @@
+# vim: ft=confini
+
+[addressbooks]
+[[gmail]]
+path = ~/.local/share/vdirsyncer/contacts/google/default/
+
+[general]
+default_action = list
+editor = nvim, -i, NONE
+merge_editor = vimdiff
+
+[contact table]
+display = formatted_name
+sort = last_name
+localize_dates = yes
+preferred_email_address_type = pref, work, home
+show_kinds = no
diff --git a/cal/dot-config/vdirsyncer/config b/cal/dot-config/vdirsyncer/config
new file mode 100644
index 0000000..abdc264
--- /dev/null
+++ b/cal/dot-config/vdirsyncer/config
@@ -0,0 +1,61 @@
+# vim: ft=confini
+
+[general]
+status_path = "~/.local/state/vdirsyncer/"
+
+##### Google Contacts #####
+
+[pair gmail_contacts]
+a = "gmail_contacts_local"
+b = "gmail_contacts_remote"
+collections = ["from a", "from b"]
+metadata = ["displayname"]
+
+[storage gmail_contacts_local]
+type = "filesystem"
+path = "~/.local/share/vdirsyncer/contacts/google"
+fileext = ".vcf"
+
+[storage gmail_contacts_remote]
+type = "google_contacts"
+token_file = "~/.local/state/vdirsyncer/googlecard-token"
+client_id.fetch = ["command", "pass", "show", "google/oauth/clientid"]
+client_secret.fetch = ["command", "pass", "show", "google/oauth/clientsecret"]
+
+##### Google Calendar #####
+
+[pair googlecalendars]
+a = "googlecaldav_local"
+b = "googlecaldav_remote"
+metadata = ["color", "displayname", "description", "order"]
+collections = ["from a", "from b"]
+
+[storage googlecaldav_local]
+type = "filesystem"
+path = "~/.local/share/vdirsyncer/calendars/google"
+fileext = ".ics"
+
+[storage googlecaldav_remote]
+type = "google_calendar"
+client_id.fetch = ["command", "pass", "show", "google/oauth/clientid"]
+client_secret.fetch = ["command", "pass", "show", "google/oauth/clientsecret"]
+token_file = "~/.local/state/vdirsyncer/googlecal-token"
+
+##### Moreka.cc Calendar #####
+
+[pair moreka_calendar]
+a = "moreka_calendar_local"
+b = "moreka_calendar_remote"
+collections = ["from a", "from b"]
+metadata = ["displayname"]
+
+[storage moreka_calendar_local]
+type = "filesystem"
+path = "~/.local/share/vdirsyncer/calendars/moreka.cc"
+fileext = ".ics"
+
+[storage moreka_calendar_remote]
+type = "caldav"
+url = "https://dav.moreka.cc/moreka/b3f68fb7-93d3-2129-5b31-bb490d4bc387/"
+username = "moreka"
+password.fetch = ["command", "pass", "show", "dav-moreka-cc"]