bar: fix kb layout

This commit is contained in:
2 * r + 2 * t 2025-07-28 12:54:28 +10:00
parent 84bd327ef6
commit 9c99a537d0

View file

@ -30,7 +30,7 @@ Singleton {
return; return;
if (n === "activelayout") { if (n === "activelayout") {
root.kbLayout = event.parse(2)[1]; kbProc.running = true;
} else if (["workspace", "moveworkspace", "activespecial", "focusedmon"].includes(n)) { } else if (["workspace", "moveworkspace", "activespecial", "focusedmon"].includes(n)) {
Hyprland.refreshWorkspaces(); Hyprland.refreshWorkspaces();
Hyprland.refreshMonitors(); Hyprland.refreshMonitors();
@ -48,6 +48,8 @@ Singleton {
} }
Process { Process {
id: kbProc
running: true running: true
command: ["hyprctl", "-j", "devices"] command: ["hyprctl", "-j", "devices"]
stdout: StdioCollector { stdout: StdioCollector {