Biont / sway-launcher-desktop

TUI Application launcher with Desktop Entry support. Made for SwayWM, but runs anywhere
GNU General Public License v3.0
606 stars 28 forks source link

Entries are sorted by .desktop filename, not app name #78

Closed JetpackJackson closed 1 year ago

JetpackJackson commented 1 year ago

Hi, I've noticed that some programs show up in a weird order when I run the launcher, and after some testing I realized it was due to the filename of the .desktop file. swappy-20230727-170658 "Bulk Rename" is named thunar-bulk-rename.desktop, but if I rename it to something like bulk-rename, then it moves up to the top with apps like btop.

Is there a way to fix this? I was trying to get them in the right order while hiding apps I didn't want to see, but since files in .local/share/applications show on the top of the list, if I only copy a few programs and rename them, then I get two lists next to each other, the list from .local and the list from /usr/share/applications (and other places too, for example Anki is in /usr/local/share/applications.)

What is the best way to go about applying my desired edits to .desktop files (correct order, naming, comments, hidden status, etc) without causing more issues? Thanks in advance.