update readme

This commit is contained in:
Aaron Bieber 2025-01-16 19:21:47 -07:00
parent 8eec95fd64
commit 42154e293f
No known key found for this signature in database

View File

@ -1,26 +1,13 @@
### krha
This plugin provides a simple template for a KRunner plugin using dbus.
The install script copies the Krunner config file and a dbus activation service file
to their appropriate locations.
This way the python script gets executed when KRunner
requests matches and it does not need to be autostarted.
This plugin provides a bridge between krunner and home-assistant's assistant.
If you want to run the plugin manually to debug it you can do the following:
```bash
```shell
mkdir -p ~/.local/share/krunner/dbusplugins/
cp plasma-runner-krha.desktop ~/.local/share/krunner/dbusplugins/
kquitapp5 krunner
kquitapp6 krunner
python3 krha.py
```
After that you should see your runner when typing `hello` in KRunner.
More information can be found here:
https://invent.kde.org/frameworks/krunner/-/blob/master/src/data/org.kde.krunner1.xml
https://techbase.kde.org/Development/Tutorials/D-Bus/Introduction
If you feel confident about your runner you can upload it to the KDE Store
https://store.kde.org/browse/cat/628/order/latest/.