What I mean is if you type the name of a program you don't have in krunner,then there is the "get >name of application<". The problem is that I don't like discover,so I want to use Pamac with that. I also want that it not only supports pacman,but also the aur,flatpak and snap.
Technically speaking the runner does not invoke Discover directly, it opens a appstream:org.foo.bar URL. Discover just happens to be the default handler for that You can change that to pamac by running xdg-mime default org.manjaro.pamac.manager.desktop x-scheme-handler/appstream
When I do that command,I still get Unable to create io-slave. klauncher said: Unknown protocol 'appstream'.