MatthiasGrandl / Loungy

Loungy is a WIP launcher in the vein of Spotlight, Alfred, Raycast.
MIT License
1.48k stars 71 forks source link

Occasionally Refresh App Listing #36

Closed distek closed 5 months ago

distek commented 5 months ago

LAST ONE, I PROMISE

I noticed that when installing a new application, I have to restart the main Loungy process in order for it to index the recently installed application.

I don't believe it would be a very heavy background job? It would be cool if something like... every 30 seconds (or whatever you feel is appropriate?), have Loungy re-index the various applications directories.

Maybe also just a fsnotify-like job that just forever runs in the background so it's more instant.

Anyway, that's it from me for now! :)

I really do appreciate this app and the work that's been put in to it~

MatthiasGrandl commented 5 months ago

It already should be updating the app list once per minute… using fsnotify is an interesting idea though.

distek commented 5 months ago

I am likely just wildly impatient then :)

Close this if you'd like, then!

MatthiasGrandl commented 5 months ago

Jep just confirmed it, it does a poll once per minute.

MatthiasGrandl commented 5 months ago

It's now running on fsnotify!

distek commented 5 months ago

You are absolutely killin' it!

I may just finally go learn Rust so I can help in some way lol

Thanks for all you do!