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

[Request] Customize result order #204

Open
patrulhasirius opened this issue Oct 11, 2024 · 5 comments
Open

[Request] Customize result order #204

patrulhasirius opened this issue Oct 11, 2024 · 5 comments

Comments

@patrulhasirius
Copy link

Coming from launchers like rofi, I would like to be able to put the open apps last on results or even remove them, as i'm used to just typing the app name and clicking enter to launch. Is this type of configuration planned?

@wash2
Copy link
Collaborator

wash2 commented Oct 11, 2024

By default the priority for open apps is high, but you could override it not to be. Similarly, you could make the priority for the desktop entries plugin high. https://github.com/pop-os/launcher/blob/master/plugins/src/cosmic_toplevel/plugin.ron

@patrulhasirius
Copy link
Author

Interesting, so at the moment this would need sudo to modify the files and can't be customized via .config, right?

@wash2
Copy link
Collaborator

wash2 commented Oct 14, 2024

Interesting, so at the moment this would need sudo to modify the files and can't be customized via .config, right?

No it can be customized without sudo. https://github.com/pop-os/launcher has more details, but
just plugins="calc desktop_entries files find pop_shell pulse recent scripts terminal web" install will install the listed plugins to your User-local plugins: ~/.local/share/pop-launcher/plugins/{plugin}/

@patrulhasirius
Copy link
Author

That's not the case when installing from repos, correct?

@wash2
Copy link
Collaborator

wash2 commented Oct 14, 2024

You can still override them by installing this way. It takes highest priority. See the docs for https://github.com/pop-os/launcher/blob/476a8fb44564b7075adf2c3b74bad758f6582747/service/src/plugins/external/load.rs#L14 Maybe I've misunderstood your question though?

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

No branches or pull requests

2 participants