pop-os / launcher

Modular IPC-based desktop launcher service
Mozilla Public License 2.0
219 stars 42 forks source link

use free_desktop_entry to search desktop file #216

Closed wiiznokes closed 1 month ago

wiiznokes commented 1 month ago

This depend on https://github.com/pop-os/freedesktop-desktop-entry/pull/15.

This will have the benefit of

Currently, this works really great. The searching function still need refinement, like decide what fields to include in the search, give some field more weight, ect. But any improvement will benefit all cosmic component now.

Also, idk it it's possible yet, but it will be nice to give the returned response a score so that good matches get displayed first. I think this should be managed in the frontend since there can be multiple plugin at once, but i'm not sure.

wiiznokes commented 1 month ago

I think having a git dependencie for fde is fine here since it will likely require some change in the matching function while cosmic approaching its release

wiiznokes commented 1 month ago

@jacobgkau I think web apps installed though brave will not show their icon. This pr fix this