diff --git a/plugins/applications/src/scrubber.rs b/plugins/applications/src/scrubber.rs index b2948c1..33131d3 100644 --- a/plugins/applications/src/scrubber.rs +++ b/plugins/applications/src/scrubber.rs @@ -179,7 +179,11 @@ pub fn scrubber(config: &Config) -> Result, Box return None, }; let entries = DesktopEntry::from_dir_entry(&entry, config); - Some(entries.into_iter().map(|entry| (entry.name.clone(), entry))) + Some( + entries + .into_iter() + .map(|entry| (format!("{}{}", entry.name, entry.icon), entry)), + ) }) .flatten() .collect(); @@ -195,7 +199,11 @@ pub fn scrubber(config: &Config) -> Result, Box return None, }; let entries = DesktopEntry::from_dir_entry(&entry, config); - Some(entries.into_iter().map(|entry| (entry.name.clone(), entry))) + Some( + entries + .into_iter() + .map(|entry| (format!("{}{}", entry.name, entry.icon), entry)), + ) }) .flatten(), ),