From 9996dfb791695fda1f7144084928a37af6e33b03 Mon Sep 17 00:00:00 2001 From: Michael Tretter Date: Wed, 31 Jan 2024 12:56:41 +0100 Subject: [PATCH] conf: escape @DEFAULT_SINK@ Variables enclosed with @ are replaced with the value of the variable. The sink.name should remain @DEFAULT_SINK@. Escape the enclosing @ to prevent substitution of DEFAULT_SINK with an empty string while generating pipewire.conf. --- src/daemon/pipewire.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in index a9fb1c35d..b47bbec44 100644 --- a/src/daemon/pipewire.conf.in +++ b/src/daemon/pipewire.conf.in @@ -172,7 +172,7 @@ context.modules = [ # Use libcanberra to play X11 Bell { name = libpipewire-module-x11-bell args = { - #sink.name = "@DEFAULT_SINK@" + #sink.name = "\@DEFAULT_SINK\@" #sample.name = "bell-window-system" #x11.display = null #x11.xauthority = null