Sat 6 Jul 01:11:33 CEST 2024

This commit is contained in:
Thomas Avé 2024-07-06 01:11:33 +02:00
parent 3326154e0d
commit e65bb2e5af
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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";
}),
]: []
})