Refresh idle indicator on bar IPC

This commit is contained in:
Ryan Hughes
2026-05-18 10:17:01 -04:00
parent bbdc485a62
commit e9e5040bf3
2 changed files with 9 additions and 0 deletions
@@ -25,6 +25,12 @@ Item {
Component.onCompleted: refresh()
Connections {
target: root.bar
ignoreUnknownSignals: true
function onIndicatorsRefreshRequested() { root.refresh() }
}
Process {
id: statusProc
command: ["bash", "-lc", "pgrep -x hypridle >/dev/null 2>&1 && echo running || echo stopped"]