refactor: compile applets as multicall binary

This commit is contained in:
Michael Aaron Murphy 2024-03-14 18:47:41 +01:00 committed by Michael Murphy
parent 4099624499
commit 3c4acdacd7
48 changed files with 2393 additions and 2256 deletions

View file

@ -1,12 +1,10 @@
use crate::window::Window;
mod localize;
mod wayland;
mod wayland_subscription;
mod window;
const VERSION: &str = env!("CARGO_PKG_VERSION");
fn main() -> cosmic::iced::Result {
localize::localize();
tracing_subscriber::fmt::init();
let _ = tracing_log::LogTracer::init();
cosmic::applet::run::<Window>(false, ())
tracing::info!("Starting tiling applet with version {VERSION}");
cosmic_applet_tiling::run()
}