You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implements nicm#96https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
If no configuration file is specified on the command-line,
$XDG_CONFIG_HOME/fdm.conf is now the first file checked, then
$HOME/.fdm.conf, and finally the system-wide /etc/fdm.conf.
This allows the user to specify where they would like the configuration
file to be stored. E.g. many users like to set XDG_CONFIG_HOME to
$HOME/.config so that all their XDG-compliant programs have their
configuration files stored there rather than in their home directory (or
other arbitrary locations).
mikejzx
added a commit
to mikejzx/fdm
that referenced
this issue
Dec 1, 2023
Continuation of nicm#96 implementation.
From https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html:
> There is a single base directory relative to which user-specific
> runtime files and other file objects should be placed. This directory
> is defined by the environment variable $XDG_RUNTIME_DIR.
This also may provide slight performance benefits to this as
XDG_RUNTIME_DIR is often set to a directory under /tmp which some
systems configure to be mounted as tmpfs.
If XDG_RUNTIME_DIR is not set or is an empty string, the old behaviour
of the user's home directory is used.
Hey. It would be cool if FDM searched
$XDG_CONFIG_HOME
forfdm.conf
, which is part of the XDG base directory specification.The text was updated successfully, but these errors were encountered: