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

Implement desktop actions #5

Closed
Lipt0nas opened this issue Jul 14, 2024 · 1 comment · Fixed by #8
Closed

Implement desktop actions #5

Lipt0nas opened this issue Jul 14, 2024 · 1 comment · Fixed by #8
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Lipt0nas
Copy link

Would be nice to have the ability to search through and execute Desktop Actions that are present in desktop entries

@ernestask ernestask self-assigned this Jul 20, 2024
@ernestask ernestask added this to the 1.0.0 milestone Jul 20, 2024
@ernestask ernestask added the enhancement New feature or request label Jul 20, 2024
@ernestask
Copy link
Owner

This will require a custom search implementation (largely a copy of the GLib one).

ernestask added a commit that referenced this issue Jul 21, 2024
This commit ditches g_desktop_app_info_search() with a modified copy of
the search code in order to support searching for actions in desktop
entries. That additionally required implementing own sorting, which
currently is based on the specificity of the match type (e.g. name ranks
above display name and keywords and so on) and whether we’ve
prefix-matched.

Resolves #5.
ernestask added a commit that referenced this issue Jul 21, 2024
This commit builds on top of 7f1cbb8 to
provide the ability to launch matching actions.

Relates to #5.
ernestask added a commit that referenced this issue Jul 21, 2024
This commit builds on top of 7f1cbb8 to
provide the ability to launch matching actions.

Relates to #5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants