bar: fix kb layout
This commit is contained in:
parent
84bd327ef6
commit
9c99a537d0
1 changed files with 3 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue