start notifications daemon
This commit is contained in:
parent
3746d20225
commit
f8bb451f68
2 changed files with 10 additions and 3 deletions
1
debian/control
vendored
1
debian/control
vendored
|
|
@ -17,6 +17,7 @@ Depends:
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
cosmic-comp,
|
cosmic-comp,
|
||||||
cosmic-panel,
|
cosmic-panel,
|
||||||
|
cosmic-notifications,
|
||||||
cosmic-bg,
|
cosmic-bg,
|
||||||
cosmic-app-library,
|
cosmic-app-library,
|
||||||
cosmic-launcher,
|
cosmic-launcher,
|
||||||
|
|
|
||||||
12
src/main.rs
12
src/main.rs
|
|
@ -71,6 +71,9 @@ async fn main() -> Result<()> {
|
||||||
.await
|
.await
|
||||||
.expect("failed to start panel");
|
.expect("failed to start panel");
|
||||||
|
|
||||||
|
let span = info_span!(parent: None, "cosmic-notifications");
|
||||||
|
start_component("cosmic-notifications", span, &process_manager, &env_vars).await;
|
||||||
|
|
||||||
let span = info_span!(parent: None, "cosmic-app-library");
|
let span = info_span!(parent: None, "cosmic-app-library");
|
||||||
start_component("cosmic-app-library", span, &process_manager, &env_vars).await;
|
start_component("cosmic-app-library", span, &process_manager, &env_vars).await;
|
||||||
|
|
||||||
|
|
@ -103,9 +106,12 @@ async fn main() -> Result<()> {
|
||||||
let (exit_tx, exit_rx) = oneshot::channel();
|
let (exit_tx, exit_rx) = oneshot::channel();
|
||||||
let _ = ConnectionBuilder::session()?
|
let _ = ConnectionBuilder::session()?
|
||||||
.name("com.system76.CosmicSession")?
|
.name("com.system76.CosmicSession")?
|
||||||
.serve_at("/com/system76/CosmicSession", service::SessionService {
|
.serve_at(
|
||||||
exit_tx: Some(exit_tx),
|
"/com/system76/CosmicSession",
|
||||||
})?
|
service::SessionService {
|
||||||
|
exit_tx: Some(exit_tx),
|
||||||
|
},
|
||||||
|
)?
|
||||||
.build()
|
.build()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue