summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/Hyprland.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/Hyprland.qml b/services/Hyprland.qml
index 2b3fd32..e774a33 100644
--- a/services/Hyprland.qml
+++ b/services/Hyprland.qml
@@ -30,7 +30,7 @@ Singleton {
return;
if (n === "activelayout") {
- root.kbLayout = event.parse(2)[1];
+ kbProc.running = true;
} else if (["workspace", "moveworkspace", "activespecial", "focusedmon"].includes(n)) {
Hyprland.refreshWorkspaces();
Hyprland.refreshMonitors();
@@ -48,6 +48,8 @@ Singleton {
}
Process {
+ id: kbProc
+
running: true
command: ["hyprctl", "-j", "devices"]
stdout: StdioCollector {