diff --git a/Kit/module/module.swift b/Kit/module/module.swift index cc79d167..6b868485 100644 --- a/Kit/module/module.swift +++ b/Kit/module/module.swift @@ -39,10 +39,11 @@ public struct module_c { if let state = dict["State"] as? Bool { self.defaultState = state } - if let symbol = dict["Symbol"] as? String { - if #available(macOS 11.0, *) { - self.icon = NSImage(systemSymbolName: symbol, accessibilityDescription: nil) - } + if let symbol = dict["Symbol"] as? String, #available(macOS 11.0, *) { + self.icon = NSImage(systemSymbolName: symbol, accessibilityDescription: nil) + } + if self.icon == nil, #available(macOS 11.0, *), let symbol = dict["AlternativeSymbol"] as? String { + self.icon = NSImage(systemSymbolName: symbol, accessibilityDescription: nil) } if let widgetsDict = dict["Widgets"] as? NSDictionary { diff --git a/Modules/Bluetooth/config.plist b/Modules/Bluetooth/config.plist index f315f45d..3716ebc5 100644 --- a/Modules/Bluetooth/config.plist +++ b/Modules/Bluetooth/config.plist @@ -8,6 +8,8 @@ Symbol point.3.filled.connected.trianglepath.dotted + AlternativeSymbol + scale.3d Widgets label diff --git a/Modules/CPU/config.plist b/Modules/CPU/config.plist index 4c0e6da4..19d8b6df 100644 --- a/Modules/CPU/config.plist +++ b/Modules/CPU/config.plist @@ -8,6 +8,8 @@ Symbol cpu.fill + AlternativeSymbol + cpu Widgets label diff --git a/Modules/Sensors/config.plist b/Modules/Sensors/config.plist index 5f6ec5d1..9f0d0c8b 100644 --- a/Modules/Sensors/config.plist +++ b/Modules/Sensors/config.plist @@ -7,7 +7,9 @@ State Symbol - fanblades + fanblades.fill + AlternativeSymbol + thermometer.sun Widgets label