/krunner-nix

Adding programs available via Nix to KRunner.

Primary LanguageRust

krunner-nix

krunner-nix is a KRunner plugin (built with krunner-rs) that suggests and autocompletes programs that can be installed and run with Nix.

Usage

Simply activate KRunner (alt+f2 by default) and type in any program you want to run. This plugin would then list programs in Nixpkgs matching the entered query, and sort them by how close they are to the query.

krunner-nix in action

By selecting a program (or by clicking the Run button), a Konsole window would be appear, showing any logs or build progress that nix run displays.

Alternatively, by clicking the Terminal button, a shell with the chosen app installed would be opened instead.

the Konsole window that krunner-nix opens when running an app

It even works with the default Application Launcher!

krunner-nix with the Application Launcher

License

Dual-licensed under MIT/Apache 2.0.