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:
parent
62c16c0495
commit
107f19b03e
3 changed files with 15 additions and 9 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue