diff --git a/Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml b/Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml index 3ce2656..c4c9539 100644 --- a/Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml +++ b/Modules/ArchUpdaterPanel/ArchUpdaterPanel.qml @@ -190,7 +190,7 @@ NPanel { } NIconButton { - icon: ArchUpdaterService.updateInProgress ? "hourglass_empty" : "system_update" + icon: ArchUpdaterService.updateInProgress ? "hourglass_empty" : "filter_none" tooltipText: ArchUpdaterService.updateInProgress ? "Update in progress..." : "Update all packages" enabled: !ArchUpdaterService.updateInProgress onClicked: { @@ -203,7 +203,7 @@ NPanel { } NIconButton { - icon: ArchUpdaterService.updateInProgress ? "hourglass_empty" : "settings" + icon: ArchUpdaterService.updateInProgress ? "hourglass_empty" : "check_box" tooltipText: ArchUpdaterService.updateInProgress ? "Update in progress..." : "Update selected packages" enabled: !ArchUpdaterService.updateInProgress && ArchUpdaterService.selectedPackagesCount > 0 onClicked: { diff --git a/Modules/Bar/Widgets/ArchUpdater.qml b/Modules/Bar/Widgets/ArchUpdater.qml index 9047c1b..9fc9522 100644 --- a/Modules/Bar/Widgets/ArchUpdater.qml +++ b/Modules/Bar/Widgets/ArchUpdater.qml @@ -29,15 +29,11 @@ NIconButton { // Icon states icon: { - if (ArchUpdaterService.busy || ArchUpdaterService.aurBusy) + if (ArchUpdaterService.busy || ArchUpdaterService.aurBusy) { return "sync" + } if (ArchUpdaterService.totalUpdates > 0) { - const count = ArchUpdaterService.totalUpdates - if (count > 50) - return "system_update_alt" - if (count > 10) - return "system_update" - return "system_update" + return "filter_none" } return "task_alt" } diff --git a/Modules/Bar/Widgets/Volume.qml b/Modules/Bar/Widgets/Volume.qml index e115102..fc2314c 100644 --- a/Modules/Bar/Widgets/Volume.qml +++ b/Modules/Bar/Widgets/Volume.qml @@ -14,10 +14,12 @@ Item { // Used to avoid opening the pill on Quickshell startup property bool firstVolumeReceived: false + property int wheelAccumulator: 0 implicitWidth: pill.width implicitHeight: pill.height + function getIcon() { if (AudioService.muted) { return "volume_off" @@ -59,10 +61,13 @@ Item { tooltipText: "Volume: " + Math.round( AudioService.volume * 100) + "%\nLeft click for advanced settings.\nScroll up/down to change volume." - onWheel: function (angle) { - if (angle > 0) { + onWheel: function (delta) { + wheelAccumulator += delta + if (wheelAccumulator >= 120) { + wheelAccumulator = 0 AudioService.increaseVolume() - } else if (angle < 0) { + } else if (wheelAccumulator <= -120) { + wheelAccumulator = 0 AudioService.decreaseVolume() } }