restore the fun easter egg when not archbased since it can be enabled when it's not
This commit is contained in:
parent
1d625ac098
commit
f85bdfead9
2 changed files with 2 additions and 2 deletions
|
|
@ -123,7 +123,6 @@ Singleton {
|
|||
property bool showActiveWindowIcon: true
|
||||
property bool alwaysShowBatteryPercentage: false
|
||||
property real backgroundOpacity: 1.0
|
||||
property bool showArchUpdater: true
|
||||
property list<string> monitors: []
|
||||
|
||||
// Widget configuration for modular bar system
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue