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;
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 {