Better explain XDG vs default locations in docs

This commit is contained in:
miruka 2021-01-19 11:43:41 -04:00
parent 68412a1975
commit 2d3553531d
2 changed files with 8 additions and 4 deletions

View File

@ -9,9 +9,12 @@
On Linux:
- `$XDG_CONFIG_HOME/mirage` or `~/.config/mirage` for config files
- `$XDG_DATA_HOME/mirage` or `~/.local/share/mirage` for user data
- `$XDG_CACHE_HOME/mirage` or `~/.cache/mirage` for cache data
- `$XDG_CONFIG_HOME/mirage` if the `XDG_CONFIG_HOME` environment variable is
set, else `~/.config/mirage` for config files
- `$XDG_DATA_HOME/mirage` if that variable is set, else `~/.local/share/mirage`
for user data
- `$XDG_CACHE_HOME/mirage` if that variable is set, else `~/.cache/mirage`
for cache data
For Flatpak installations:

View File

@ -24,7 +24,8 @@ class General:
# Application theme to use.
# Can be the name of a built-in theme (Mirage.qpl or Glass.qpl), or
# the name (including extension) of a file in the user theme folder, which
# is "$XDG_DATA_HOME/mirage/themes" or "~/.local/share/mirage/themes".
# is "$XDG_DATA_HOME/mirage/themes" if that environment variable is set,
# else "~/.local/share/mirage/themes".
# For Flatpak, it is
# "~/.var/app/io.github.mirukana.mirage/data/mirage/themes".
theme: str = "Midnight.qpl"