Fixed that Idle indicator updates on multiple screens

This commit is contained in:
Hannes
2026-03-26 14:58:20 +01:00
parent 9b9ec07f25
commit 053e6f4cc5
4 changed files with 30 additions and 8 deletions
+17
View File
@@ -1,6 +1,7 @@
import QtQuick
import Quickshell
import Quickshell.Hyprland
import Quickshell.Io
import "../../../colors"
MouseArea {
@@ -9,6 +10,10 @@ MouseArea {
height: 28
hoverEnabled: true
cursorShape: Qt.PointingHandCursor
onClicked: {
archButtonScript.running = true
}
Rectangle {
anchors.fill: parent
@@ -23,4 +28,16 @@ MouseArea {
color: archButton.containsMouse ? Colors.tertiary_fg : Colors.primary
}
}
Process {
id: archButtonScript
command: ["sh", "-c", "wofi --show drun"]
running: false
stdout: StdioCollector {
onStreamFinished: {
console.log("Opening wofi")
}
}
}
}