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] Sort combi modes option #1963

Closed
2 tasks done
katashisano opened this issue Mar 15, 2024 · 4 comments
Closed
2 tasks done

[REQUEST] Sort combi modes option #1963

katashisano opened this issue Mar 15, 2024 · 4 comments

Comments

@katashisano
Copy link

Before opening a feature request

  • I checked the next branch to see if the feature has already been implemented
  • I searched existing reports to see if it is already requested.

What is the user problem or growth opportunity you want to see solved?

Being able to sort elements by mode in combi mode, like for example: window elements appear first in the list, then drun, then run.

How do you know that this problem exists today? Why is this important?

I like to have rofi display apps in the .desktop format which provides description and a proper name vs the executable name, e.g.: Firefox Web Browser (Web Browser) / firefox. But I still need run mode for apps which don't have a .desktop or scripts I like to execute from within rofi.

Who will benefit from it?

Me and people who like convenient sorting in their launcher.

Rofi version (rofi -v)

1.7.5

Configuration

https://gist.github.com/katashisano/39f4ceb1c95004f85d6c170cef77c9fa

Additional information

No response

@katashisano katashisano changed the title [REQUEST] Sort combi modes [REQUEST] Sort combi modes option Mar 15, 2024
@DaveDavenport
Copy link
Collaborator

DaveDavenport commented Mar 15, 2024

I am confused what the exact request is. Combi mode does not sort or is involved with sorting, so if you specify 'window,drun,run' it should show them in that order.

This is how I use it to make sure that if I open it, type 'firefox' it switches to open window or if none is open it launches it.

edit: the attached config does not use combi mode?

@DaveDavenport
Copy link
Collaborator

I like to have rofi display apps in the .desktop format which provides description and a proper name vs the executable name, e.g.: Firefox Web Browser (Web Browser) / firefox. But I still need run mode for apps which don't have a .desktop or scripts I like to execute from within rofi.

This is what combi solves? rofi -show combi -combi-modes "drun,run"

@katashisano
Copy link
Author

This is what combi solves? rofi -show combi -combi-modes "drun,run"

Oops, I just checked my hyprland config (that's why the gist config doesn't use combi mode) and I had "window,run,drun" instead of "window,drun,run" which I thought I had, sorry for not checking well before opening this issue.

Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants