diff --git a/plugins/applications/src/lib.rs b/plugins/applications/src/lib.rs index b69864d..01d3bee 100644 --- a/plugins/applications/src/lib.rs +++ b/plugins/applications/src/lib.rs @@ -37,6 +37,7 @@ pub fn get_matches(input: RString, entries: &mut Vec<(DesktopEntry, u64)>) -> RV .filter_map(|(entry, id)| { matcher .fuzzy_match(&entry.name, &input) + .max(matcher.fuzzy_match(&entry.exec, &input)) .map(|val| (entry, id, val)) }) .collect::>();