simplify the dbus interface name

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-04-25 12:22:26 -04:00
parent fd0b97353c
commit 9c172287ac
2 changed files with 2 additions and 6 deletions

View File

@ -17,11 +17,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let conn = Connection::new_session()?;
let proxy = conn.with_proxy(
"website.christine.nanpa",
"/workspace",
Duration::from_millis(5000),
);
let proxy = conn.with_proxy("website.christine.nanpa", "/", Duration::from_millis(5000));
match opt {
Cmd::Switch { workspace } => {

View File

@ -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(
MatchRule::new_method_call(),