mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-16 22:31:03 +02:00
parent
29e00b4f6b
commit
e8da00b850
1 changed files with 1 additions and 4 deletions
|
@ -203,10 +203,7 @@ impl Module<gtk::Box> for CustomModule {
|
||||||
debug!("executing command: '{}'", script.cmd);
|
debug!("executing command: '{}'", script.cmd);
|
||||||
|
|
||||||
let args = event.args.unwrap_or_default();
|
let args = event.args.unwrap_or_default();
|
||||||
|
script.run_as_oneshot(Some(&args));
|
||||||
if let Err(err) = script.get_output(Some(&args)).await {
|
|
||||||
error!("{err:?}");
|
|
||||||
}
|
|
||||||
} else if event.cmd == "popup:toggle" {
|
} else if event.cmd == "popup:toggle" {
|
||||||
send_async!(tx, ModuleUpdateEvent::TogglePopup(event.id));
|
send_async!(tx, ModuleUpdateEvent::TogglePopup(event.id));
|
||||||
} else if event.cmd == "popup:open" {
|
} else if event.cmd == "popup:open" {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue