vdirsyncer & khal
This commit is contained in:
parent
311a798e38
commit
9f58a1e487
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ i3/config
|
||||
i3status.conf
|
||||
mbsyncrc
|
||||
authinfo
|
||||
config/vdirsyncer/config
|
||||
|
4
Makefile
4
Makefile
@ -2,6 +2,7 @@ FILES = bashrc bash_profile vimrc zshrc gitconfig screenrc commonshrc liquidprom
|
||||
gnomerc gvimrc muttrc pentadactylrc mailcap latexmkrc ctags \
|
||||
i3/config i3status.conf msmtprc spacemacs emacs.d mbsyncrc authinfo \
|
||||
config/qutebrowser config/nvim/init.vim ideavimrc agignore \
|
||||
config/khal config/vdirsyncer/config \
|
||||
$(wildcard sbt/0.13/*.sbt sbt/0.13/plugins/*.sbt)
|
||||
|
||||
.PHONY: install clean check
|
||||
@ -41,6 +42,9 @@ install-vim-plug:
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
cp $(VIM_DIR)/autoload/plug.vim $(HOME)/.vim
|
||||
|
||||
config/vdirsyncer/config: config/vdirsyncer/config.m4
|
||||
umask 077; m4 $< >$@
|
||||
|
||||
mbsyncrc: mbsyncrc.m4
|
||||
umask 077; m4 $< >$@
|
||||
|
||||
|
11
config/khal/khal.conf
Normal file
11
config/khal/khal.conf
Normal file
@ -0,0 +1,11 @@
|
||||
[calendars]
|
||||
[[my_calendars_local]]
|
||||
path = ~/.calendars/
|
||||
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
|
36
config/vdirsyncer/config.m4
Normal file
36
config/vdirsyncer/config.m4
Normal file
@ -0,0 +1,36 @@
|
||||
[general]
|
||||
status_path = ~/.vdirsyncer/status/
|
||||
|
||||
[pair my_calendars]
|
||||
a = my_calendars_local
|
||||
b = my_calendars_remote
|
||||
conflict_resolution = b wins
|
||||
collections = ["from b"]
|
||||
|
||||
[storage my_calendars_local]
|
||||
type = filesystem
|
||||
path = ~/.calendars/
|
||||
fileext = .ics
|
||||
|
||||
[storage my_calendars_remote]
|
||||
type = caldav
|
||||
url = "https://radicale.gebner.org/gebner/"
|
||||
username = gebner
|
||||
password = esyscmd(`pass 2b7e.org/mail.gebner.org | head -n1')
|
||||
|
||||
[pair my_contacts]
|
||||
a = my_contacts_local
|
||||
b = my_contacts_remote
|
||||
conflict_resolution = b wins
|
||||
collections = ["from b"]
|
||||
|
||||
[storage my_contacts_local]
|
||||
type = filesystem
|
||||
path = ~/.contacts/
|
||||
fileext = .vcf
|
||||
|
||||
[storage my_contacts_remote]
|
||||
type = carddav
|
||||
url = "https://radicale.gebner.org/gebner/"
|
||||
username = gebner
|
||||
password = esyscmd(`pass 2b7e.org/mail.gebner.org | head -n1')
|
Loading…
Reference in New Issue
Block a user