From 9c99a537d02128b39f5542a587ce0720b71313f9 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 28 Jul 2025 12:54:28 +1000 Subject: bar: fix kb layout --- services/Hyprland.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3-freya