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

Prefer .desktop over commands #60

Open
mpldr opened this issue Dec 18, 2021 · 4 comments
Open

Prefer .desktop over commands #60

mpldr opened this issue Dec 18, 2021 · 4 comments

Comments

@mpldr
Copy link

mpldr commented Dec 18, 2021

It has happened quite frequently that i want to start a program and instead it runs the command. Sometimes this is not an issue, for example with firefox. However, with others like Mumble or electron-stuff the Program won't appear unless started using the desktop entry.

@zenlord
Copy link

zenlord commented Jan 5, 2022

Agree - I'm used to type 'nautilus' in other launchers, but in sway-launcher-desktop that doesn't work. I have to type 'Files' instead.

@Biont
Copy link
Owner

Biont commented Jan 10, 2022

Sorry for not answering for so long.

I agree that this is something a lot of people will prefer. I've looked around and fzf does not give us a real way to weigh entries other than using --tiebreak=index, which would prefer entries that appear first in the list. BUT since we are populating the list in parallel, we don't actually control the order in which entries appear. So this does not lead us to a solution unless someone has an idea here.

@tiagocpontesp
Copy link

tiagocpontesp commented Nov 18, 2022

Idea:

You click say MOD+D and it could list .desktops, MOD+D again for bins, and then again for any other providers (thinking logind/acpi).

I think it would make a nice UX.

Ideally configure which order, and which in parallel.

@mpldr
Copy link
Author

mpldr commented Nov 18, 2022

I think having different modes would indeed be a good solution, I don't think implementing the described workflow would be great though. What might be preferable is an option --show=<desktop,binaries,stdin> stdin being basically {r,w}ofi/{d,be}menu, maybe with advanced options as displayed by wofi-wifi-menu

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

4 participants