mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-04-19 19:34:24 +02:00
Merge pull request #412 from JakeStanger/fix/swaybar-command
fix(cli): error when launched via `swaybar_command`
This commit is contained in:
commit
2a4587612a
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue