sway-launcher-desktop icon indicating copy to clipboard operation
sway-launcher-desktop copied to clipboard

Prefer .desktop over commands

Open mpldr opened this issue 2 years ago • 4 comments

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.

mpldr avatar Dec 18 '21 10:12 mpldr

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.

zenlord avatar Jan 05 '22 16:01 zenlord

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.

Biont avatar Jan 10 '22 12:01 Biont

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.

tiagocpontesp avatar Nov 18 '22 19:11 tiagocpontesp

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

mpldr avatar Nov 18 '22 19:11 mpldr