Or maybe better "app://<application_name>", where <application_name> is a lowercase string without spaces, hard-coded in plugin loggers and defined (for recent.py, etc) as the command you execute on the terminal to run the application (we may need to maintain a "quirks list" here for distros using different executable names for different apps, etc).
This has the advantage that I can just say "give me everything for 'firefox'" and don't need to worry whether it'll be firefox.desktop, firefox-1.desktop, mycustombrowserlink.desktop or whatever, which would be rather complicated.
Or maybe better "app:// <application_ name>", where <application_name> is a lowercase string without spaces, hard-coded in plugin loggers and defined (for recent.py, etc) as the command you execute on the terminal to run the application (we may need to maintain a "quirks list" here for distros using different executable names for different apps, etc).
This has the advantage that I can just say "give me everything for 'firefox'" and don't need to worry whether it'll be firefox.desktop, firefox-1.desktop, mycustombrowser link.desktop or whatever, which would be rather complicated.
What do you think?