Biont / sway-launcher-desktop

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

Honour NoDisplay=true #32

Closed WhyNotHugo closed 3 years ago

WhyNotHugo commented 3 years ago

Some desktop entries have a NoDisplay=true. The spec specifies:

NoDisplay means "this application exists, but don't display it in the menus". This can be useful to e.g. associate this application with MIME types, so that it gets launched from a file manager (or other apps), without having a menu entry for it (there are tons of good reasons for this, including e.g. the netscape -remote, or kfmclient openURL kind of stuff).

Could desktop file entries that have this attribute be excluded form options shown by sway-launcher-desktop?

Biont commented 3 years ago

Good point. Shouldn't be hard to do and is definitely worth it