audio: Use volume subscription to detect changes

Fixes https://github.com/pop-os/cosmic-applets/issues/301.

Should be combined with the subscription code here to avoid duplication,
and two things using pulse.
This commit is contained in:
Ian Douglas Scott 2024-06-17 17:49:53 -07:00 committed by Ian Douglas Scott
parent 35491b80a2
commit 78b734afc2
5 changed files with 33 additions and 24 deletions

View file

@ -5,6 +5,7 @@ edition = "2021"
license = "GPL-3.0"
[dependencies]
cosmic-settings-subscriptions.workspace = true
cosmic-time.workspace = true
drm = "0.11.1"
futures.workspace = true
@ -19,6 +20,3 @@ tracing-subscriber.workspace = true
tracing.workspace = true
udev = "0.8"
zbus.workspace = true
# TODO branch
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", branch = "upower" }
cosmic-settings-subscriptions = { git = "https://github.com/pop-os/cosmic-settings-subscriptions" }