chore: update cosmic-settings-subscriptions
This commit is contained in:
parent
482fa9466a
commit
8c95adbae6
5 changed files with 221 additions and 161 deletions
365
Cargo.lock
generated
365
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -49,8 +49,8 @@ lto = "thin"
|
||||||
# smithay-client-toolkit = { git = "https://github.com/smithay/client-toolkit//", rev = "c583de8" }
|
# smithay-client-toolkit = { git = "https://github.com/smithay/client-toolkit//", rev = "c583de8" }
|
||||||
|
|
||||||
[patch.'https://github.com/pop-os/cosmic-protocols']
|
[patch.'https://github.com/pop-os/cosmic-protocols']
|
||||||
cosmic-protocols = { 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 = "67df697" }
|
cosmic-client-toolkit = { git = "https://github.com/pop-os/cosmic-protocols//", rev = "1425bd4" }
|
||||||
|
|
||||||
# [patch.'https://github.com/pop-os/cosmic-settings-daemon']
|
# [patch.'https://github.com/pop-os/cosmic-settings-daemon']
|
||||||
# cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon//", branch = "input_nobuild" }
|
# cosmic-settings-config = { git = "https://github.com/pop-os/cosmic-settings-daemon//", branch = "input_nobuild" }
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,14 @@ pwhash = "1"
|
||||||
[dependencies.cosmic-settings-subscriptions]
|
[dependencies.cosmic-settings-subscriptions]
|
||||||
git = "https://github.com/pop-os/cosmic-settings-subscriptions"
|
git = "https://github.com/pop-os/cosmic-settings-subscriptions"
|
||||||
#TODO: only select features as needed
|
#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
|
optional = true
|
||||||
|
|
||||||
[dependencies.icu]
|
[dependencies.icu]
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ impl page::Page<crate::pages::Message> for Page {
|
||||||
|
|
||||||
fn on_enter(&mut self) -> cosmic::Task<crate::pages::Message> {
|
fn on_enter(&mut self) -> cosmic::Task<crate::pages::Message> {
|
||||||
if self.wayland_thread.is_none() {
|
if self.wayland_thread.is_none() {
|
||||||
match wayland::spawn_wayland_connection() {
|
match wayland::spawn_wayland_connection(1) {
|
||||||
Ok((tx, mut rx)) => {
|
Ok((tx, mut rx)) => {
|
||||||
self.wayland_thread = Some(tx);
|
self.wayland_thread = Some(tx);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ impl page::Page<crate::pages::Message> for Page {
|
||||||
|
|
||||||
fn on_enter(&mut self) -> cosmic::Task<crate::pages::Message> {
|
fn on_enter(&mut self) -> cosmic::Task<crate::pages::Message> {
|
||||||
if self.wayland_thread.is_none() {
|
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)) => {
|
Ok((tx, mut rx)) => {
|
||||||
self.wayland_thread = Some(tx);
|
self.wayland_thread = Some(tx);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue