feat(audio): share cosmic-settings' new sound library
This commit is contained in:
parent
abf5eedb5e
commit
a3fb55a2b8
10 changed files with 574 additions and 1478 deletions
|
|
@ -6,10 +6,6 @@ license = "GPL-3.0-only"
|
|||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
cosmic-settings-subscriptions = { workspace = true, features = [
|
||||
"upower",
|
||||
"settings_daemon",
|
||||
] }
|
||||
cosmic-time.workspace = true
|
||||
drm = "0.14.1"
|
||||
futures.workspace = true
|
||||
|
|
@ -24,3 +20,9 @@ tracing-subscriber.workspace = true
|
|||
tracing.workspace = true
|
||||
udev = "0.9"
|
||||
zbus.workspace = true
|
||||
|
||||
[dependencies.cosmic-settings-upower-subscription]
|
||||
git = "https://github.com/pop-os/cosmic-settings"
|
||||
|
||||
[dependencies.cosmic-settings-daemon-subscription]
|
||||
git = "https://github.com/pop-os/cosmic-settings"
|
||||
|
|
|
|||
|
|
@ -29,15 +29,12 @@ use cosmic::{
|
|||
surface, theme,
|
||||
widget::{divider, horizontal_space, icon, scrollable, slider, text, vertical_space},
|
||||
};
|
||||
use cosmic_settings_subscriptions::{
|
||||
settings_daemon,
|
||||
upower::{
|
||||
device::{DeviceDbusEvent, device_subscription},
|
||||
kbdbacklight::{
|
||||
KeyboardBacklightRequest, KeyboardBacklightUpdate, kbd_backlight_subscription,
|
||||
},
|
||||
},
|
||||
use cosmic_settings_daemon_subscription as settings_daemon;
|
||||
use cosmic_settings_upower_subscription::{
|
||||
device::{DeviceDbusEvent, device_subscription},
|
||||
kbdbacklight::{KeyboardBacklightRequest, KeyboardBacklightUpdate, kbd_backlight_subscription},
|
||||
};
|
||||
|
||||
use cosmic_time::{Instant, Timeline, anim, chain, id};
|
||||
|
||||
use rustc_hash::FxHashMap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue