anyrun icon indicating copy to clipboard operation
anyrun copied to clipboard

Implemented search history for application plugin

Open peppidesu opened this issue 2 years ago • 3 comments

Issue #14 discussed this feature before, but the branch the maintainer mentioned is out of date by 74 commits.

This pull request implements recency bias into the applications plugin, meaning recently / commonly searched applications will be prioritized. The history file is stored in $HOME/.cache/anyrun-applications-history. The maximum number of entries can be changed in the config file using history_size (see README.md).

Recency bias is only applied if the other score components are not 0 (to prevent unrelated results showing up) and when the input field is empty.

peppidesu avatar Nov 09 '23 19:11 peppidesu

That sounds amazing! Maybe it should be implemented as a separate plugin, though? See #87 and https://github.com/anyrun-org/plugin-applications.

AsriFox avatar Nov 27 '23 17:11 AsriFox