Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented search history for application plugin #116

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

peppidesu
Copy link

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.

@AsriFox
Copy link

AsriFox commented Nov 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants