Modified version of Luke Smith LARBS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

148 lines
3.6 KiB

  1. # Calendar
  2. To use a terminal calendar the following programs are needed.
  3. | programm | description |
  4. | ---------- | ----------------------- |
  5. | khal | terminal calendar |
  6. | vdirsyncer | sync tool for calendars |
  7. ## Installation and configuration
  8. To configure vdirsyncer edit a file in ```~/.config/vdirsyncer/config```.
  9. ```
  10. [general]
  11. status_path = "~/.cache/vdirsyncer/status"
  12. #calendar
  13. [pair private_calendar]
  14. a = "private_calendar_local"
  15. b = "private_calendar_remote"
  16. collections = ["from a", "from b"]
  17. metadata = ["color"]
  18. [storage private_calendar_local]
  19. type = "filesystem"
  20. path = "~/.local/share/pim/calendars/private_calendar"
  21. fileext = ".ics"
  22. [storage private_calendar_remote]
  23. type = "caldav"
  24. url = "https://<url>"
  25. auth = "basic"
  26. username = "<username>"
  27. password = "<password>"
  28. ```
  29. After that initialize vdirsyncer.
  30. ```vdirsyncer discover && vdirsyncer metasync```
  31. And keep regularly syncing your data (crontab).
  32. The command to sync is the following.
  33. ```vdirsyncer sync```
  34. Finally add a ```~/.config/khal/config``` and you're ready to go.
  35. ```
  36. [calendars]
  37. [[calendars]]
  38. path = ~/.local/share/pim/calendars/*/*
  39. type = discover
  40. ```
  41. # Contacts
  42. To use a terminal addressbook the following programs are needed.
  43. | programm | description |
  44. | ---------- | ----------------------- |
  45. | khard | terminal addressbook |
  46. | vdirsyncer | sync tool for calendars |
  47. ## Installation and configuration
  48. To configure vdirsyncer edit a file in ```~/.config/vdirsyncer/config```.
  49. ```
  50. [general]
  51. status_path = "~/.cache/vdirsyncer/status"
  52. #contacts
  53. [pair private_contacts]
  54. a = "private_contacts_local"
  55. b = "private_contacts_remote"
  56. collections = ["from a", "from b"]
  57. [storage private_contacts_local]
  58. type = "filesystem"
  59. path = "~/.local/share/pim/contacts"
  60. fileext = ".vcf"
  61. [storage private_contacts_remote]
  62. type = "carddav"
  63. url = "https://<url>"
  64. username = "<username>"
  65. password = "<password>"
  66. auth = "basic"
  67. ```
  68. After that initialize vdirsyncer.
  69. ```vdirsyncer discover && vdirsyncer metasync```
  70. And keep regularly syncing your data (crontab).
  71. The command to sync is the following.
  72. ```vdirsyncer sync```
  73. Now you just need to add and configure the config and youre done.
  74. ```
  75. mkdir ~/.config/khard
  76. cp /usr/share/doc/khard/khard.conf.example ~/.config/khard/khard.conf
  77. ```
  78. # Mutt
  79. These are a bunch of programs to be able to use lukesmithxyz's mutt-wizard,
  80. which will be able to setup your neomutt acordingly.
  81. | program | description |
  82. | ----------- | --------------------- |
  83. | neomutt | mail program |
  84. | isync | syncs mail |
  85. | msmtp | sends mail |
  86. | pass | encrypts passwords |
  87. | mutt-wizard | autoconfigure neomutt |
  88. The mutt-wizard AUR package is slightly outdated.
  89. Try to use the [git version](https://github.com/LukeSmithxyz/mutt-wizard) to get the latest mutt-wizard.
  90. ## Installation and configuration
  91. After the basic installation you will be able to:
  92. ``` mw add ``` to add mailaccounts
  93. ``` mw ls ``` to list existing ones
  94. ``` mw pass ``` to revise passwords
  95. ``` mw delete ``` to delete accounts
  96. ``` mw purge ``` to delete all accounts and settings
  97. ``` mw cron ``` toggle a cronjob to sync mail
  98. ## Use khard in mutt
  99. To use your khard addressbook in mutt just add the following lines to your ```~/.config/mutt/muttrc```.
  100. ```
  101. set query_command= "khard email --parsable --search-in-source-files %s"
  102. bind editor <Tab> complete-query
  103. bind editor ^T complete
  104. macro index,pager A \
  105. "<pipe message>khard add-email<return>" \
  106. "add the sender email address to khard"
  107. ```
  108. You can just tab-complete the email-addresses.
  109. You can also add new ones by pressing A.