update readme
This commit is contained in:
parent
8eec95fd64
commit
42154e293f
21
README.md
21
README.md
@ -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/.
|
||||
|
Loading…
x
Reference in New Issue
Block a user