1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-19 19:34:24 +02:00

fix(cli): error when launched via swaybar_command

Fixes #11 (again)
This commit is contained in:
Jake Stanger 2024-01-20 23:42:43 +00:00
parent 7d51155a3e
commit 1c9c9bbece
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -8,6 +8,11 @@ use serde::{Deserialize, Serialize};
pub struct Args {
#[command(subcommand)]
pub command: Option<Command>,
/// `bar_id` argument passed by `swaybar_command`.
/// Not used.
#[arg(short('b'), hide(true))]
sway_bar_id: Option<String>,
}
pub fn handle_response(response: Response) {