aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-05 21:40:46 +0200
committerneodarz <neodarz@neodarz.net>2019-09-05 21:40:46 +0200
commitca569b6a5e5c083e3b11d49806342b317f007dff (patch)
tree70100ea7b25853a5814f5c4278657bf05784c784
parentfa5d731c3b72ab49d597c5431b44733e57883cdb (diff)
downloaddotfiles-ca569b6a5e5c083e3b11d49806342b317f007dff.tar.xz
dotfiles-ca569b6a5e5c083e3b11d49806342b317f007dff.zip
Add vdirsyncer config
-rw-r--r--README.md1
-rw-r--r--config.yaml4
-rw-r--r--dotfiles/config/vdirsyncer/config100
-rw-r--r--install.sh11
4 files changed, 115 insertions, 1 deletions
diff --git a/README.md b/README.md
index f3caffb..a3336d3 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@
ssh > ssh config
systemd > user services for differents application
taskwarrior > simple task manager config
+ vdirsyncer > sync mail config mail
Xresources > theme config
```
# Managing
diff --git a/config.yaml b/config.yaml
index 37d6c88..4282605 100644
--- a/config.yaml
+++ b/config.yaml
@@ -66,6 +66,9 @@ dotfiles:
f_taskrc:
src: taskrc
dst: ~/.taskrc
+ f_vdirsyncer_config:
+ src: config/vdirsyncer/config
+ dst: ~/.config/vdirsyncer/config
profiles:
unicorn:
dotfiles:
@@ -90,6 +93,7 @@ profiles:
- f_xresources
- f_config
- f_taskrc
+ - f_vdirsyncer_config
fenec:
dotfiles:
- d_i3pystatus
diff --git a/dotfiles/config/vdirsyncer/config b/dotfiles/config/vdirsyncer/config
new file mode 100644
index 0000000..3d7ec5c
--- /dev/null
+++ b/dotfiles/config/vdirsyncer/config
@@ -0,0 +1,100 @@
+[general]
+status_path = "~/.vdirsyncer/status/"
+
+[pair perso]
+a = "perso_local"
+b = "perso_remote"
+collections = ["from a", "from b"]
+metadata = ["color"]
+
+[storage perso_local]
+type = "filesystem"
+path = "~/.calendars/perso/"
+fileext = ".ics"
+
+[storage perso_remote]
+type = "caldav"
+url = "https://mail.neodarz.net/SOGo/dav/neodarz@neodarz.net/Calendar/personal/"
+username = "neodarz@neodarz.net"
+password.fetch = ["command", "pass", "Mail/neodarz@neodarz.net"]
+
+[pair pro]
+a = "pro_local"
+b = "pro_remote"
+collections = ["from a", "from b"]
+metadata = ["color"]
+
+[storage pro_local]
+type = "filesystem"
+path = "~/.calendars/pro/"
+fileext = ".ics"
+
+[storage pro_remote]
+type = "caldav"
+url = "https://mail.neodarz.net/SOGo/dav/neodarz@neodarz.net/Calendar/5D88-5832A480-7-54041100/"
+username = "neodarz@neodarz.net"
+password.fetch = ["command", "pass", "Mail/neodarz@neodarz.net"]
+
+[pair imie]
+a = "imie_local"
+b = "imie_remote"
+collections = ["from a", "from b"]
+metadata = ["color"]
+
+[storage imie_local]
+type = "filesystem"
+path = "~/.calendars/imie/"
+fileext = ".ics"
+
+[storage imie_remote]
+type = "caldav"
+url = "https://mail.neodarz.net/SOGo/dav/neodarz@neodarz.net/Calendar/155c6097-b7a9-4fd1-98f5-44f9075a2e84/"
+username = "neodarz@neodarz.net"
+password.fetch = ["command", "pass", "Mail/neodarz@neodarz.net"]
+
+[pair linuxmaine]
+a = "linuxmaine_local"
+b = "linuxmaine_remote"
+collections = null
+
+[storage linuxmaine_local]
+type = "filesystem"
+path = "~/.calendars/linuxmaine/"
+fileext = ".ics"
+
+[storage linuxmaine_remote]
+type = "http"
+url = "https://www.agendadulibre.org/events.ics?tag=linuxmaine"
+
+[pair haum]
+a = "haum_local"
+b = "haum_remote"
+collections = null
+
+[storage haum_local]
+type = "filesystem"
+path = "~/.calendars/haum/"
+fileext = ".ics"
+
+[storage haum_remote]
+type = "http"
+url = "https://haum.org/calendar/calendar.ics"
+
+[pair personal]
+a = "personal_local"
+b = "personal_remote"
+collections = ["from a", "from b"]
+metadata = ["color"]
+
+[storage personal_local]
+type = "filesystem"
+path = "~/.contacts/"
+fileext = ".vcf"
+
+[storage personal_remote]
+type = "carddav"
+url = "https://mail.neodarz.net/SOGo/dav/neodarz@neodarz.net/Contacts/personal"
+username = "neodarz@neodarz.net"
+password.fetch = ["command", "pass", "Mail/neodarz@neodarz.net"]
+
+
diff --git a/install.sh b/install.sh
index 5418bc0..3bd1423 100644
--- a/install.sh
+++ b/install.sh
@@ -136,6 +136,10 @@
#sudo pacman -S offlineimap
+## vdirsyncer
+
+#sudo pacman -S vdirsyncer
+
# install dotfiles
# post install dotfile
@@ -146,6 +150,11 @@
#nvim +PluginInstall +qall
-# notmuch
+## notmuch
#notmuch new
+
+## vdirsyncer
+
+#vdirsyncer discover
+#vdirsyncer sync