mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-12 13:30:12 -05:00
conf: add support for XDG_CONFIG_HOME search path
Include $XDG_CONFIG_HOME/alsa/asoundrc _or_ ~/.config/alsa/asoundrc as the last user-defined configuration. BugLink: https://github.com/alsa-project/alsa-lib/issues/49 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
1fa7d670f8
commit
577df365f6
1 changed files with 13 additions and 0 deletions
|
|
@ -11,6 +11,19 @@
|
||||||
"/etc/alsa/conf.d"
|
"/etc/alsa/conf.d"
|
||||||
"/etc/asound.conf"
|
"/etc/asound.conf"
|
||||||
"~/.asoundrc"
|
"~/.asoundrc"
|
||||||
|
{
|
||||||
|
@func concat
|
||||||
|
strings [
|
||||||
|
{
|
||||||
|
@func getenv
|
||||||
|
vars [
|
||||||
|
XDG_CONFIG_HOME
|
||||||
|
]
|
||||||
|
default "~/.config"
|
||||||
|
}
|
||||||
|
"/alsa/asoundrc"
|
||||||
|
]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
errors false
|
errors false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue