diff options
author | Sanchayan Maity <sanchayan@asymptotic.io> | 2020-09-08 15:35:52 +0530 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-09-09 17:51:30 +0200 |
commit | f4a949dc3a833513a94c552c7d9dae57506a95fc (patch) | |
tree | cc8c984d008e2b8551594670a383d7721746c525 /PROTOCOL | |
parent | d456893f31610de9eb8943f732dee4a687c331d7 (diff) |
Currently pipewire-media-session uses ~/.pipewire-media-session for
storing configuration. Use home directory as specified by XDG base
directory specification viz. XDG_CONFIG_HOME and fall back to using
a default of $HOME/.config as per the spec if XDG_CONFIG_HOME is not
set or empty. Also in addition, all cases are now handled the same
and always end up using "%s/.config/pipewire-media-session".
If neither XDG_CONFIG_HOME or HOME are set, fall back to the earlier
approach.
Fixes: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/271
Signed-off-by: Sanchayan Maity <sanchayan@asymptotic.io>
Fixes !298
Diffstat (limited to 'PROTOCOL')
0 files changed, 0 insertions, 0 deletions