current status
This commit is contained in:
@ -5,7 +5,7 @@ const batteryLevel = batteryPercent => ({
|
||||
|
||||
const batteryIcon = batteryPercent => ({
|
||||
"-2": "action-unavailable",
|
||||
"-1": "battery-ac-adapter"
|
||||
"-1": "reload"
|
||||
})[batteryPercent] ?? "audio-headphones-symbolic";
|
||||
|
||||
const hex2rgb = (hex, h = hex.replace('#', '0x')) => ({ r: h >> 16 & 255, g: h >> 8 & 255, b: h & 255 });
|
||||
|
Reference in New Issue
Block a user