diff --git a/Commons/Settings.qml b/Commons/Settings.qml index 3600c78..074ee60 100644 --- a/Commons/Settings.qml +++ b/Commons/Settings.qml @@ -123,7 +123,6 @@ Singleton { property bool showActiveWindowIcon: true property bool alwaysShowBatteryPercentage: false property real backgroundOpacity: 1.0 - property bool showArchUpdater: true property list monitors: [] // Widget configuration for modular bar system diff --git a/Modules/Bar/Widgets/ArchUpdater.qml b/Modules/Bar/Widgets/ArchUpdater.qml index 5a2e359..4fd397d 100644 --- a/Modules/Bar/Widgets/ArchUpdater.qml +++ b/Modules/Bar/Widgets/ArchUpdater.qml @@ -4,7 +4,6 @@ import qs.Widgets NIconButton { id: root - visible: Settings.data.bar.showArchUpdater && ArchUpdaterService.isArchBased sizeMultiplier: 0.8 colorBg: Color.mSurfaceVariant @@ -15,6 +14,8 @@ NIconButton { icon: !ArchUpdaterService.ready ? "block" : (ArchUpdaterService.busy ? "sync" : (ArchUpdaterService.updatePackages.length > 0 ? "system_update" : "task_alt")) tooltipText: { + if (!ArchUpdaterService.isArchBased) + return "Arch users already ran 'sudo pacman -Syu' for breakfast."; if (!ArchUpdaterService.checkupdatesAvailable) return "Please install pacman-contrib to use this feature."; if (ArchUpdaterService.busy)