Krolyxon
Commit d48166e

Branches

Refs →

aurorad48166e

aurora: updates only in the control panel, not the bar

Author
krolyxon
Date
2026-10-25 16:05 +0530
Parent
eff182a
Commit
d48166e78d47cf78242ae20591a5a79d26726029

+1 −15

3 files changed

  1. M .config/quickshell/aurora/Bar.qml +0 −11
  2. M .config/quickshell/aurora/SetShell.qml +0 −1
  3. M .config/quickshell/aurora/Settings.qml +1 −3
M .config/quickshell/aurora/Bar.qml View
@@ -128,17 +128,6 @@ PanelWindow {
128128 underline: Theme.err
129129 }
130130
131− BarPill { // left click: list in the sys tab, right click: upgrade in foot
132− visible: bar.monFocused && Settings.updatesPill && Updates.count > 0
133− icon: Theme.iUpdate
134− text: String(Updates.count)
135− tint: Updates.upgrading ? Theme.dim : Theme.fg
136− onActivated: button => {
137− if (button === Qt.RightButton) Updates.upgrade()
138− else bar.togglePanel("sys", bar.modelData)
139− }
140− }
141−
142131 BarPill {
143132 visible: Toggles.caffeine || Toggles.airplane
144133 icon: (Toggles.caffeine ? Theme.iCoffee : "") + (Toggles.caffeine && Toggles.airplane ? " " : "")
M .config/quickshell/aurora/SetShell.qml View
@@ -51,7 +51,6 @@ Flickable {
5151
5252 SectionLabel { text: "bar" }
5353 Switch { label: "privacy indicators"; hint: "show in the bar when an app records the mic, uses the camera or shares the screen"; checked: Settings.privacyIndicators; onToggled: on => Settings.privacyIndicators = on }
54− Switch { label: "pending updates"; hint: "show the pacman + AUR update count in the bar"; checked: Settings.updatesPill; onToggled: on => Settings.updatesPill = on }
5554
5655 SectionLabel { text: "notifications" }
5756 Switch { label: "do not disturb"; hint: "hide popups and mute the sound (critical ones still show)"; checked: Notifs.dnd; onToggled: on => Notifs.dnd = on }
M .config/quickshell/aurora/Settings.qml View
@@ -17,7 +17,7 @@ Singleton {
1717 notifSound: true, notifVolume: 0.7,
1818 idleDim: 150, idleOff: 330, idleLock: 600, idleSuspend: 0, charTone: 0, portalAutoOpen: true,
1919 chargeMode: "off", batLow: 15, batCritical: 5, batCriticalAction: "none",
20− privacyIndicators: true, updatesPill: true
20+ privacyIndicators: true
2121 })
2222
2323 property alias fontSize: a.fontSize
@@ -46,7 +46,6 @@ Singleton {
4646 property alias batCritical: a.batCritical
4747 property alias batCriticalAction: a.batCriticalAction
4848 property alias privacyIndicators: a.privacyIndicators
49− property alias updatesPill: a.updatesPill
5049
5150 function reset() {
5251 for (var k in defaults) a[k] = defaults[k]
@@ -97,7 +96,6 @@ Singleton {
9796 property int batCritical: 5
9897 property string batCriticalAction: "none" // none | suspend | poweroff
9998 property bool privacyIndicators: true // mic/camera/screen-share icons in the bar (Privacy.qml)
100− property bool updatesPill: true // pending package updates in the bar (Updates.qml)
10199 }
102100 }
103101 // first run: create the file once the directory exists