Handle org.freedesktop.FileManager1 in cosmic-files-applet
This commit is contained in:
parent
d322017e09
commit
b9f43cb53e
4 changed files with 67 additions and 0 deletions
|
|
@ -1,3 +1,11 @@
|
|||
mod file_manager;
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
//TODO: move file manager service to its own daemon?
|
||||
let _conn_res = zbus::blocking::connection::Builder::session()?
|
||||
.name("org.freedesktop.FileManager1")?
|
||||
.serve_at("/org/freedesktop/FileManager1", file_manager::FileManager)?
|
||||
.build();
|
||||
|
||||
cosmic_files::desktop()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue