my.xdg

Members

Functions

makeXdgRuntimeDir
AbsolutePath makeXdgRuntimeDir(AbsolutePath rootDir)
Undocumented in source. Be warned that the author may not have intended to support it.
xdgConfigDirs
AbsolutePath[] xdgConfigDirs()

The prefered search order for config files.

xdgConfigHome
AbsolutePath xdgConfigHome()

The XDG standard directory for config files.

xdgDataDirs
AbsolutePath[] xdgDataDirs()

The prefered search order for data files.

xdgDataHome
AbsolutePath xdgDataHome()

The XDG standard directory for data files.

xdgRuntimeDir
Path xdgRuntimeDir(AbsolutePath fallback)

Returns the directory to use for program runtime data for the current user with a fallback for older OS:es.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This module contains functions to extract XDG variables to either what they are configured or the fallback according to the standard at [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).