summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJulian Mehne <julian.mehne@posteo.de>2018-01-21 19:47:56 +0100
committerJulian Mehne <julian.mehne@posteo.de>2018-01-21 20:10:09 +0100
commit0194326b89adacd3c1a75aacbcd30c6cd71bf598 (patch)
tree31f16724229e0730fca16a45abe3ed99bbfd2a8f /docs
parent2282e40837cd95f7dc7f0837a7b45e440f89dfa7 (diff)
Document the default values of template_dir and themes_dir.
Diffstat (limited to 'docs')
-rw-r--r--docs/source/configuration/alotrc_table4
-rw-r--r--docs/source/configuration/theming.rst3
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/source/configuration/alotrc_table b/docs/source/configuration/alotrc_table
index a7bc5ec6..0299d406 100644
--- a/docs/source/configuration/alotrc_table
+++ b/docs/source/configuration/alotrc_table
@@ -576,6 +576,7 @@
templates directory that contains your message templates.
It will be used if you give `compose --template` a filename without a path prefix.
+ The default path is `$XDG_CONFIG_HOME/alot/temmplates`.
:type: string
:default: None
@@ -605,7 +606,8 @@
.. describe:: themes_dir
- directory containing theme files
+ directory containing theme files.
+ The default path is `$XDG_CONFIG_HOME/alot/themes`.
:type: string
:default: None
diff --git a/docs/source/configuration/theming.rst b/docs/source/configuration/theming.rst
index caf14047..ea04d7c8 100644
--- a/docs/source/configuration/theming.rst
+++ b/docs/source/configuration/theming.rst
@@ -11,7 +11,8 @@ To make it easier to switch between or share different such themes, they are def
files (see below for the exact format).
To specify the theme to use, set the :ref:`theme <theme>` config option to the name of a theme-file.
A file by that name will be looked up in the path given by the :ref:`themes_dir <themes-dir>` config setting
-which defaults to :file:`~/.config/alot/themes/`. If the themes_dir is not
+which defaults to $XDG_CONFIG_HOME/alot/themes, and :file:`~/.config/alot/themes/`,
+if XDG_CONFIG_HOME is empty or not set. If the themes_dir is not
present then the contents of $XDG_DATA_DIRS/alot/themes will be tried in order.
This defaults to :file:`/usr/local/share/alot/themes` and :file:`/usr/share/alot/themes`, in that order.
These locations are meant to be used by distro packages to put themes in.