wip: dbus activation & single instance support

refactor: activation action with new trait for subcommand and args

refactor: libcosmic can handle sending the activation request

cleanup
This commit is contained in:
Ashley Wulber 2023-11-13 16:28:48 -05:00 committed by Ashley Wulber
parent 1caae11e8f
commit c9554a8740
5 changed files with 373 additions and 3 deletions

View file

@ -62,6 +62,8 @@ pub struct Core {
#[cfg(feature = "applet")]
pub applet: crate::applet::Context,
pub single_instance: bool,
}
impl Default for Core {
@ -104,6 +106,7 @@ impl Default for Core {
},
#[cfg(feature = "applet")]
applet: crate::applet::Context::default(),
single_instance: false,
}
}
}