Pass env_vars to cosmic-settings-daemon

This is needed for `cosmic-settings-daemon` to be able to use Wayland.

Required for https://github.com/pop-os/cosmic-settings-daemon/pull/153.
Though passing the env vars here seems reasonable in general, and
without that change is harmless and should have no impact.
This commit is contained in:
Ian Douglas Scott 2026-07-01 14:07:24 -07:00 committed by Ian Douglas Scott
parent 308c9d3f8f
commit b5ef6c0c0d

View file

@ -229,6 +229,7 @@ async fn start(
.start(
Process::new()
.with_executable("cosmic-settings-daemon")
.with_env(env_vars.iter().cloned())
.with_on_stdout(move |_, _, line| {
let stdout_span = stdout_span.clone();
async move {