From cb526038d84bfe625634633fa6b7fc9551e10b49 Mon Sep 17 00:00:00 2001 From: Sir Blob Date: Thu, 24 Sep 2026 01:35:26 +0000 Subject: [PATCH] Clear the update icon after pacman transactions --- shell/plugins/bar/widgets/SystemUpdate.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/shell/plugins/bar/widgets/SystemUpdate.qml b/shell/plugins/bar/widgets/SystemUpdate.qml index 4181374..f7efb90 100644 --- a/shell/plugins/bar/widgets/SystemUpdate.qml +++ b/shell/plugins/bar/widgets/SystemUpdate.qml @@ -56,6 +56,20 @@ BarWidget { onTriggered: root.refresh() } + FileView { + path: "/var/log/pacman.log" + preload: false + watchChanges: true + printErrors: false + onFileChanged: packageChangeDelay.restart() + } + + Timer { + id: packageChangeDelay + interval: 5000 + onTriggered: root.refresh() + } + BarIconButton { id: button anchors.fill: parent