mirror of https://github.com/mpv-player/mpv
manpage: fix some path description details
This commit is contained in:
parent
1edb57159f
commit
1cda73356d
|
@ -427,15 +427,18 @@ additionally wrapped in the fixed-length syntax, e.g. ``%n%string_of_length_n``
|
||||||
Some mpv options interpret paths starting with ``~``. Currently, the prefix
|
Some mpv options interpret paths starting with ``~``. Currently, the prefix
|
||||||
``~~/`` expands to the mpv configuration directory (usually ``~/.config/mpv/``).
|
``~~/`` expands to the mpv configuration directory (usually ``~/.config/mpv/``).
|
||||||
``~/`` expands to the user's home directory. (The trailing ``/`` is always
|
``~/`` expands to the user's home directory. (The trailing ``/`` is always
|
||||||
required.) There are the following paths as well:
|
required.) The following paths are currently recognized:
|
||||||
|
|
||||||
================ ===============================================================
|
================ ===============================================================
|
||||||
Name Meaning
|
Name Meaning
|
||||||
================ ===============================================================
|
================ ===============================================================
|
||||||
|
``~~/`` mpv config dir (for example ``~/.config/mpv/``)
|
||||||
|
``~/`` user home directory root (similar to shell, ``$HOME``)
|
||||||
``~~home/`` same as ``~~/``
|
``~~home/`` same as ``~~/``
|
||||||
``~~global/`` the global config path, if available (not on win32)
|
``~~global/`` the global config path, if available (not on win32)
|
||||||
``~~osxbundle/`` the OSX bundle resource path (OSX only)
|
``~~osxbundle/`` the OSX bundle resource path (OSX only)
|
||||||
``~~desktop/`` the path to the desktop (win32, OSX)
|
``~~desktop/`` the path to the desktop (win32, OSX)
|
||||||
|
``~~old_home`` do not use
|
||||||
================ ===============================================================
|
================ ===============================================================
|
||||||
|
|
||||||
|
|
||||||
|
@ -1096,10 +1099,6 @@ behavior of mpv.
|
||||||
``$HOME/.mpv`` is always added to the list of config search paths with a
|
``$HOME/.mpv`` is always added to the list of config search paths with a
|
||||||
lower priority.
|
lower priority.
|
||||||
|
|
||||||
``XDG_CONFIG_DIRS``
|
|
||||||
If set, XDG-style system configuration directories are used. Otherwise,
|
|
||||||
the UNIX convention (``PREFIX/etc/mpv/``) is used.
|
|
||||||
|
|
||||||
``MPV_HOME``
|
``MPV_HOME``
|
||||||
Directory where mpv looks for user settings. Overrides ``HOME``, and mpv
|
Directory where mpv looks for user settings. Overrides ``HOME``, and mpv
|
||||||
will try to load the config file as ``$MPV_HOME/mpv.conf``.
|
will try to load the config file as ``$MPV_HOME/mpv.conf``.
|
||||||
|
|
Loading…
Reference in New Issue