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