feat(menubar): 用分色进度柱展示电量、供电与睡眠历史

记录系统睡眠和唤醒区间,保留真实采样空档。电量柱按固定间距从右侧滑入,以蓝色、绿色和橙黄色分别标记外接电源、电池和睡眠,支持悬浮查看历史。
This commit is contained in:
2026-11-16 11:07:07 +08:00
parent 36518d29db
commit b9abb970d9
18 changed files with 546 additions and 45 deletions
@@ -0,0 +1,38 @@
{
"colors": [
{
"idiom": "universal",
"color": {
"color-space": "srgb",
"components": {
"red": "0.172549",
"green": "0.427451",
"blue": "0.717647",
"alpha": "1.000"
}
}
},
{
"idiom": "universal",
"color": {
"color-space": "srgb",
"components": {
"red": "0.439216",
"green": "0.698039",
"blue": "0.988235",
"alpha": "1.000"
}
},
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
]
}
],
"info": {
"author": "xcode",
"version": 1
}
}