davatorium / rofi

Rofi: A window switcher, application launcher and dmenu replacement
https://davatorium.github.io/rofi/
Other
13.27k stars 613 forks source link

[REQUEST] Follow Type=Link standard desktop entries with drun #1166

Closed jsamr closed 4 years ago

jsamr commented 4 years ago

Describe the feature As per version 1.5 of the Desktop Entry Specification, an entry can be of Type=Link to point to a resource, but rofi (1.5.4-2, archlinux) doesn't display such entries when running rofi -show drun.

Example of such entry:

[Desktop Entry]
Name=Plex Server Console
Icon=plex-icon
Type=Link
URL=http://localhost:32400/web

When reporting a feature request include the following information:

flavorjones commented 4 years ago

@DaveDavenport would you be open to a PR introducing this behavior?

DaveDavenport commented 4 years ago

Yes. I guess best is to launch URL with xdg-open util.

flavorjones commented 4 years ago

I've opened #1168 with a proposed implementation for this.

github-actions[bot] commented 4 years ago

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