chore: update cosmic-settings-subscriptions

This commit is contained in:
Ashley Wulber 2025-05-02 14:46:27 -04:00 committed by Michael Murphy
parent 482fa9466a
commit 8c95adbae6
5 changed files with 221 additions and 161 deletions

365
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -49,8 +49,8 @@ lto = "thin"
# smithay-client-toolkit = { git = "https://github.com/smithay/client-toolkit//", rev = "c583de8" }
[patch.'https://github.com/pop-os/cosmic-protocols']
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "67df697" }
cosmic-client-toolkit = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "67df697" }
cosmic-protocols = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "1425bd4" }
cosmic-client-toolkit = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "1425bd4" }
# [patch.'https://github.com/pop-os/cosmic-settings-daemon']
# cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon//", branch = "input_nobuild" }

View file

@ -93,7 +93,14 @@ pwhash = "1"
[dependencies.cosmic-settings-subscriptions]
git = "https://github.com/pop-os/cosmic-settings-subscriptions"
#TODO: only select features as needed
features = ["cosmic_a11y_manager", "accessibility", "network_manager", "pipewire", "pulse", "bluetooth"]
features = [
"cosmic_a11y_manager",
"accessibility",
"network_manager",
"pipewire",
"pulse",
"bluetooth",
]
optional = true
[dependencies.icu]

View file

@ -123,7 +123,7 @@ impl page::Page<crate::pages::Message> for Page {
fn on_enter(&mut self) -> cosmic::Task<crate::pages::Message> {
if self.wayland_thread.is_none() {
match wayland::spawn_wayland_connection() {
match wayland::spawn_wayland_connection(1) {
Ok((tx, mut rx)) => {
self.wayland_thread = Some(tx);

View file

@ -110,7 +110,7 @@ impl page::Page<crate::pages::Message> for Page {
fn on_enter(&mut self) -> cosmic::Task<crate::pages::Message> {
if self.wayland_thread.is_none() {
match cosmic_a11y_manager::spawn_wayland_connection() {
match cosmic_a11y_manager::spawn_wayland_connection(1) {
Ok((tx, mut rx)) => {
self.wayland_thread = Some(tx);