diff --git a/src/wake_listener.rs b/src/wake_listener.rs index f883472..eaf308b 100644 --- a/src/wake_listener.rs +++ b/src/wake_listener.rs @@ -21,7 +21,7 @@ dbus_class!("net.ddns.chiocciolo.waydrop.term", class Term (tx: Sender bool{ this.tx.send(RpcCommand::Toggle).is_ok() } - + fn run_shell(&this, cwd: String, shell: Vec) -> bool { let cwd = if cwd != "" {Some(cwd)} else {None }; this.tx.send(RpcCommand::RunShell{cwd, shell}).is_ok()