From e72f91494270909abb5a600bd191fb7c110c758f Mon Sep 17 00:00:00 2001 From: Adrian-George Bostan Date: Mon, 8 Jul 2024 12:19:24 +0300 Subject: [PATCH] Update XDG user directories README.md section --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 2a67ef8..b99236e 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,16 @@ Sensible fallback locations are used for the folders which are not set. ### XDG user directories +XDG user directories environment variables are usually **not** set on most +operating systems. However, all valid variables present in the environment +are used. Appropriate fallback locations are used for the environment variables +which are not set. + +- On Linux distributions, the package reads the [user-dirs.dirs](https://man.archlinux.org/man/user-dirs.dirs.5.en) config file, if present. +- On Windows, the package uses the appropriate [Known Folders](https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid). + +Default locations are used for any user directories which are not set, as shown in the following tables. +
Unix-like operating systems