linux-rust: add --start-minimized

This commit is contained in:
Kavish Devar
2025-11-10 13:32:47 +05:30
parent 17b545481e
commit 99beeb5907
2 changed files with 16 additions and 8 deletions
+3 -1
View File
@@ -25,6 +25,8 @@ struct Args {
debug: bool,
#[arg(long)]
no_tray: bool,
#[arg(long)]
start_minimized: bool,
}
fn main() -> iced::Result {
@@ -41,7 +43,7 @@ fn main() -> iced::Result {
rt.block_on(async_main(ui_tx)).unwrap();
});
ui::window::start_ui(ui_rx)
ui::window::start_ui(ui_rx, args.start_minimized)
}