diff --git a/src/modules/launcher/item.rs b/src/modules/launcher/item.rs index ba4407d1..924b74ab 100644 --- a/src/modules/launcher/item.rs +++ b/src/modules/launcher/item.rs @@ -166,8 +166,12 @@ impl ItemButton { if appearance.show_icons { let gtk_image = gtk::Image::new(); - let image = - ImageProvider::parse(&item.app_id.clone(), icon_theme, true, appearance.icon_size); + let input = if item.app_id.is_empty() { + item.name.clone() + } else { + item.app_id.clone() + }; + let image = ImageProvider::parse(&input, icon_theme, true, appearance.icon_size); if let Some(image) = image { button.set_image(Some(>k_image)); button.set_always_show_image(true);