path: root/src/daemon/
diff options
authorSanchayan Maity <>2020-09-02 19:19:07 +0530
committerArun Raghavan <>2020-11-23 22:07:36 +0000
commit45abd0b43c7901b375afcba6d9b0e1cca2f349a8 (patch)
treeae94702b02361a514a02a04b92bf336f64db1bf8 /src/daemon/
parenta28f2e7293a055588f7bba568b5049ff91b3aad0 (diff)
Add folder support
The .include meta command already supports specifying a directory and when including a directory, all files with the extension '.pa' in that directory will be parsed in alphabetical order. This feature can be used to add support for directory, so that packages for other applications or users can just drop in a file for configuration without changing the which is shipped. We use the PA_DEFAULT_CONFIG_DIR for this, however, since meson quotes this build variable, introduce an unquoted version for this purpose and use it with .include. Fixes: Signed-off-by: Sanchayan Maity <>
Diffstat (limited to 'src/daemon/')
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/ b/src/daemon/
index 73e39ec93..1470e2368 100755
--- a/src/daemon/
+++ b/src/daemon/
@@ -60,3 +60,8 @@ load-module module-suspend-on-idle
### Enable positioned event sounds
load-module module-position-event-sounds
+### Allow including a directory, which if present, can be used
+### for additional configuration snippets.