feat: implement frecency tracking for app usage and enhance search functionality

This commit is contained in:
2026-03-15 17:05:05 +01:00
parent f5dd303b79
commit dbce15bfd5
11 changed files with 357 additions and 57 deletions

View File

@@ -116,8 +116,17 @@ fn view(state: &KLauncherApp) -> Element<'_, Message> {
image(image::Handle::from_path(p)).width(24).height(24).into(),
None => Space::new().width(24).height(24).into(),
};
let title_col: Element<'_, Message> = if let Some(desc) = &result.description {
column![
text(result.title.as_str()).size(15),
text(desc).size(11).color(Color::from_rgba8(180, 180, 200, 0.8)),
]
.into()
} else {
text(result.title.as_str()).size(15).into()
};
container(
row![icon_el, text(result.title.as_str()).size(15)]
row![icon_el, title_col]
.spacing(8)
.align_y(iced::Center),
)