From 9e8abe5e5ab22c97f5a03e2b25025d79582398d9 Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Wed, 7 Aug 2024 21:13:12 +0859 Subject: [PATCH] chore: little tidyup --- src/main.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 12a4c7d..65c8326 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,6 +17,9 @@ mod aximer; mod launcher; mod zbus_mpirs; +type LaLaShellIdAction = LayershellCustomActionsWithIdAndInfo; +type LalaShellAction = LayershellCustomActionsWithInfo; + pub fn main() -> Result<(), iced_layershell::Error> { env_logger::builder().format_timestamp(None).init(); @@ -420,9 +423,9 @@ impl MultiApplication for LalaMusicBar { self.launcher = Some(Launcher::new()); return Command::batch(vec![ Command::single( - LayershellCustomActionsWithIdAndInfo::new( + LaLaShellIdAction::new( iced::window::Id::MAIN, - LayershellCustomActionsWithInfo::NewLayerShell(( + LalaShellAction::NewLayerShell(( NewLayerShellSettings { size: Some((500, 700)), exclusize_zone: None,