Sat 6 Jul 01:11:33 CEST 2024
This commit is contained in:
parent
3326154e0d
commit
e65bb2e5af
|
@ -49,8 +49,8 @@
|
|||
.battery-item {
|
||||
padding-left: 0.6em;
|
||||
padding-right: 0.6em;
|
||||
margin-right: 0.6em;
|
||||
border-radius: 0.3em;
|
||||
background: #1f2430;
|
||||
}
|
||||
|
||||
.item, .clients box {
|
||||
|
|
|
@ -16,7 +16,7 @@ const batteryIndicator = Widget.Box({
|
|||
const icon = thresholds.find(threshold => threshold >= battery.percent)
|
||||
self.icon = battery.charging? `battery-level-${icon}-charging-symbolic` : `battery-level-${icon}-symbolic`
|
||||
self.tooltip_text = `Battery ${battery.percent}%`
|
||||
self.class_name = "blue battery-item";
|
||||
self.class_name = "battery-item";
|
||||
}),
|
||||
]: []
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue