From f2ee2dfe7a0f5575d0c3ec09644ca990b088cd85 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Mon, 22 Aug 2022 23:08:41 +0100 Subject: [PATCH] fix: error when using with `swaybar_command` --- src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 8fe2291..4af43e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -89,7 +89,9 @@ async fn main() -> Result<()> { } }); - app.run(); + // Ignore CLI args + // Some are provided by swaybar_config but not currently supported + app.run_with_args(&Vec::<&str>::new()); Ok(()) }