From 657b33066972f29607d7363e25008868c3bbe938 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 3 Oct 2024 15:42:49 -0600 Subject: [PATCH] Launch cosmic-files-applet --- debian/control | 2 +- src/main.rs | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index fbc9348..c3fd397 100644 --- a/debian/control +++ b/debian/control @@ -19,6 +19,7 @@ Depends: cosmic-applets, cosmic-bg, cosmic-comp, + cosmic-files, cosmic-greeter, cosmic-icons, cosmic-launcher, @@ -36,7 +37,6 @@ Depends: xwayland, Recommends: cosmic-edit, - cosmic-files, cosmic-store, cosmic-term, cosmic-wallpapers, diff --git a/src/main.rs b/src/main.rs index 636d88b..b719a5a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -291,6 +291,17 @@ async fn start( ) .await; + let span = info_span!(parent: None, "cosmic-files-applet"); + start_component( + "cosmic-files-applet", + span, + &process_manager, + &env_vars, + &socket_tx, + Vec::new(), + ) + .await; + let span = info_span!(parent: None, "xdg-desktop-portal-cosmic"); let mut sockets = Vec::with_capacity(1); let extra_env = Vec::with_capacity(1);