feat: add k-launcher-config crate for configuration management and integrate with existing components
This commit is contained in:
@@ -3,8 +3,14 @@ pub mod theme;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use k_launcher_config::{AppearanceCfg, WindowCfg};
|
||||
use k_launcher_kernel::{AppLauncher, SearchEngine};
|
||||
|
||||
pub fn run(engine: Arc<dyn SearchEngine>, launcher: Arc<dyn AppLauncher>) -> iced::Result {
|
||||
app::run(engine, launcher)
|
||||
pub fn run(
|
||||
engine: Arc<dyn SearchEngine>,
|
||||
launcher: Arc<dyn AppLauncher>,
|
||||
window_cfg: &WindowCfg,
|
||||
appearance_cfg: AppearanceCfg,
|
||||
) -> iced::Result {
|
||||
app::run(engine, launcher, window_cfg, appearance_cfg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user