replace template name

This commit is contained in:
Aaron Bieber 2025-01-14 20:38:15 -07:00
parent 187bbd1b9e
commit 1407d173b0
No known key found for this signature in database
3 changed files with 4 additions and 7 deletions

View File

@ -16,7 +16,7 @@ iface = "org.kde.krunner1"
class Runner(dbus.service.Object):
def __init__(self):
dbus.service.Object.__init__(self, dbus.service.BusName("org.kde.krha", dbus.SessionBus()), objpath)
dbus.service.Object.__init__(self, dbus.service.BusName("dev.suah.krha", dbus.SessionBus()), objpath)
self.api_key = os.environ.get("HA_API_KEY", "")
self.ha_url = os.environ.get("HA_URL", "").rstrip('/')

View File

@ -1,3 +0,0 @@
[D-BUS Service]
Name=org.kde.krha
Exec=/usr/bin/python3 "/home/qbit/projects/krha/krha.py"

View File

@ -1,6 +1,6 @@
[Desktop Entry]
Name=krha
Comment=krha Runner written in Python
Comment=krha a home assistant krunner
X-KDE-ServiceTypes=Plasma/Runner
Type=Service
Icon=planetkde
@ -8,8 +8,8 @@ X-KDE-PluginInfo-Author=%{AUTHOR}
X-KDE-PluginInfo-Email=%{EMAIL}
X-KDE-PluginInfo-Name=krha
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-License=LGPL
X-KDE-PluginInfo-License=ISC
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-API=DBus
X-Plasma-DBusRunner-Service=org.kde.krha
X-Plasma-DBusRunner-Service=dev.suah.krha
X-Plasma-DBusRunner-Path=/krha