replace template name
This commit is contained in:
parent
187bbd1b9e
commit
1407d173b0
2
krha.py
2
krha.py
@ -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('/')
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
[D-BUS Service]
|
||||
Name=org.kde.krha
|
||||
Exec=/usr/bin/python3 "/home/qbit/projects/krha/krha.py"
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user