@ -0,0 +1,26 @@ |
|||||
|
# Todoman |
||||
|
|
||||
|
`todoman` is a todolist you can use in your terminal. |
||||
|
You can sync it using [vdirsyncer](vdirsyncer.md) |
||||
|
|
||||
|
## Setup |
||||
|
|
||||
|
### Arch-Linux |
||||
|
|
||||
|
- `pacman -S todoman` - Install needed packages |
||||
|
|
||||
|
### Configuration |
||||
|
|
||||
|
- Edit the `~/.config/todoman/todoman.conf` |
||||
|
- Insert the following lines |
||||
|
|
||||
|
```txt |
||||
|
[main] |
||||
|
path = ~/.local/share/pim/calendars/*/* |
||||
|
date_format = %d.%m.%Y |
||||
|
time_format = %H:%M |
||||
|
default_list = personal |
||||
|
``` |
||||
|
|
||||
|
Replace `personal` with your choice of primary list and |
||||
|
`~/.local/share/pim/calendars/*/*` with the path to your calendars. |
||||
@ -0,0 +1,63 @@ |
|||||
|
# Vdirsyncer |
||||
|
|
||||
|
`vdirsyncer` can sync calendars and contacts using the caldav and carddav |
||||
|
protocol. |
||||
|
|
||||
|
## Setup |
||||
|
|
||||
|
### Arch-Linux |
||||
|
|
||||
|
- `pacman -S vdirsyncer` - Install needed packages |
||||
|
|
||||
|
### Configuration |
||||
|
|
||||
|
- Edit the `~/.config/vdirsyncer/config`. |
||||
|
- Insert the following lines: |
||||
|
|
||||
|
```txt |
||||
|
[general] |
||||
|
status_path = "~/.cache/vdirsyncer/status" |
||||
|
|
||||
|
#calendar |
||||
|
[pair private_calendar] |
||||
|
a = "private_calendar_local" |
||||
|
b = "private_calendar_remote" |
||||
|
collections = ["from a", "from b"] |
||||
|
metadata = ["color"] |
||||
|
|
||||
|
[storage private_calendar_local] |
||||
|
type = "filesystem" |
||||
|
path = "~/.local/share/pim/calendars/private_calendar" |
||||
|
fileext = ".ics" |
||||
|
|
||||
|
[storage private_calendar_remote] |
||||
|
type = "caldav" |
||||
|
url = "https://<url>" |
||||
|
auth = "basic" |
||||
|
username = "<username>" |
||||
|
password = "<password>" |
||||
|
|
||||
|
#contacts |
||||
|
[pair private_contacts] |
||||
|
a = "private_contacts_local" |
||||
|
b = "private_contacts_remote" |
||||
|
collections = ["from a", "from b"] |
||||
|
|
||||
|
[storage private_contacts_local] |
||||
|
type = "filesystem" |
||||
|
path = "~/.local/share/pim/contacts" |
||||
|
fileext = ".vcf" |
||||
|
|
||||
|
[storage private_contacts_remote] |
||||
|
type = "carddav" |
||||
|
url = "https://<url>" |
||||
|
username = "<username>" |
||||
|
password = "<password>" |
||||
|
auth = "basic" |
||||
|
``` |
||||
|
|
||||
|
Replace specific lines with your information. |
||||
|
You can set multiple contact and calendar syncs at once. |
||||
|
|
||||
|
- `vdirsyncer discover && vdirsyncer metasync` - Initialize vdirsyncer |
||||
|
- `vdirsyncer sync` - Synchronize your data (put it in a crontab to run periodically) |
||||