fix(sound): Use crate feature to disable auto-profile on init by default

Adds `auto-profile-init` feature to the subscription crate and then
adds it to cosmic-settings' import. When updating the applet, this
feature will be disabled by default.

Also makes a change to not auto-set the Off profile in case pipewire
reports the profile to be `Off`.
This commit is contained in:
Michael Aaron Murphy 2025-12-04 16:19:54 +01:00 committed by Michael Murphy
parent 62c16c0495
commit 107f19b03e
3 changed files with 15 additions and 9 deletions

View file

@ -16,3 +16,7 @@ numtoa = "1.0.0-alpha1"
rustix = "1.0.8"
tokio = { version = "1.47.1", features = ["process", "rt", "time"] }
tracing = { version = "0.1.41", default-features = false }
[features]
# Set profile on first load
auto-profile-init = []