simplify the dbus interface name
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
fd0b97353c
commit
9c172287ac
|
@ -17,11 +17,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
|
|
||||||
let conn = Connection::new_session()?;
|
let conn = Connection::new_session()?;
|
||||||
|
|
||||||
let proxy = conn.with_proxy(
|
let proxy = conn.with_proxy("website.christine.nanpa", "/", Duration::from_millis(5000));
|
||||||
"website.christine.nanpa",
|
|
||||||
"/workspace",
|
|
||||||
Duration::from_millis(5000),
|
|
||||||
);
|
|
||||||
|
|
||||||
match opt {
|
match opt {
|
||||||
Cmd::Switch { workspace } => {
|
Cmd::Switch { workspace } => {
|
||||||
|
|
|
@ -154,7 +154,7 @@ pub async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
cr.insert("/workspace", &[iface_token], nanpa.clone());
|
cr.insert("/", &[iface_token], nanpa.clone());
|
||||||
|
|
||||||
c.start_receive(
|
c.start_receive(
|
||||||
MatchRule::new_method_call(),
|
MatchRule::new_method_call(),
|
||||||
|
|
Loading…
Reference in New Issue