也可在 https://www.pling.com/p/1716561/ 获取
您至少需要kde plasma 5.24

colorify.mp4


将插件编译为独立的自包含可执行文件

在项目根文件夹中运行

dart pub get
dart compile exe -o package/color_runner bin/color_runner.dart

安装插件

package/install.sh

测试插件

  • Alt + Space 启动 KRunner。
  • 输入颜色名称

卸载插件

package/uninstall.sh

调试插件

确保插件未安装,然后

touch package/color_runner   # Create dummy package to "install".
package/install.sh

现在在您的 IDE 中以调试模式运行程序,或者通过运行 dart run bin/color_runner.dart 来运行,KRunner 调用将连接到调试版本;添加
断点,检查等。

鸣谢

感谢 https://github.com/Merrit 提供的出色的 krunner dart 集成

GitHub

查看 Github