New backup 2025-03-04 19:00:02

This commit is contained in:
Penelope Gwen 2025-03-04 19:00:02 -08:00
parent b5f9fb1f12
commit 7a74744743
2 changed files with 7 additions and 6 deletions

View file

@ -25,13 +25,16 @@
margin: 10px 0px 10px 5px;
min-width: 25px;
}
scale trough {
scale trough,
progressbar>trough {
background-color: $color1;
color: $color1;
min-width: 100px;
min-height: 10px;
border-radius: 4px;
}
scale trough highlight {
scale trough highlight,
progressbar>trough>progress {
background-color: $color2;
border-radius: 4px;
}

View file

@ -192,7 +192,7 @@
:revealvar reveal_battery
:revealvar-name "reveal_battery"
(button :onclick 'pavucontrol-qt --tab 3'
" ${EWW_BATTERY.BAT0.status}%")
{(EWW_BATTERY.BAT0.status == "Charging") ? " ${EWW_BATTERY.BAT0.capacity}%" : " ${EWW_BATTERY.BAT0.capacity}%"})
(battery_children)))
(defpoll battery_level :initial 0
@ -203,9 +203,7 @@
:orientation "h"
:space-evenly false
:halign "center"
(scale
:min 0
:max 100
(progress
:value {EWW_BATTERY.BAT0.capacity}
:orientation "h")))