Skip to content

Commit

Permalink
fix: error when using with swaybar_command
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeStanger committed Aug 22, 2022
1 parent ab8f7ec commit f2ee2df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}
Expand Down

0 comments on commit f2ee2df

Please sign in to comment.