mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added option to show all widgets per module as one item in the menu bar. It's an early feature, so there is a bugs. To work fine with this feature a lot of widgets must be adjusted. It supports organizing the elements right from the widget selector settings already. IT'S AN EARLY FEATURE!
This commit is contained in:
@@ -140,7 +140,7 @@ public class GPU: Module {
|
||||
|
||||
self.checkNotificationLevel(utilization)
|
||||
|
||||
self.widgets.filter{ $0.isActive }.forEach { (w: Widget) in
|
||||
self.menuBar.widgets.filter{ $0.isActive }.forEach { (w: Widget) in
|
||||
switch w.item {
|
||||
case let widget as Mini:
|
||||
widget.setValue(utilization)
|
||||
|
||||
Reference in New Issue
Block a user