nwg-piotr / nwg-drawer

Application drawer for wlroots-based Wayland compositors
MIT License
233 stars 25 forks source link

feature: prefer most used applications #88

Open asbachb opened 1 year ago

asbachb commented 1 year ago

I most likely start the same application. e.g when I want to run nautilus I search for files. As I also have FileZilla installed it's sorted before nautilus. I wonder if it makes sense to count how often an application was launched and prefer sorting the applications this way. So you don't need to do additional navigation in case there are multiple matches.

nwg-piotr commented 1 year ago

Previous versions of the program had optional 'most used' instead of 'pinned' view over the application grid, but I gave up on this feature, as what I really needed at the moment was usually elsewhere. However, sorting all the grid by usage would demand a database, and re-sorting every time you display the grid. This would not go well with the resident mode. Also: users tend to measure the time of execution, and complain about every millisecond. 🤣