New backup 2025-03-04 19:00:02
This commit is contained in:
parent
b5f9fb1f12
commit
7a74744743
2 changed files with 7 additions and 6 deletions
|
@ -25,13 +25,16 @@
|
||||||
margin: 10px 0px 10px 5px;
|
margin: 10px 0px 10px 5px;
|
||||||
min-width: 25px;
|
min-width: 25px;
|
||||||
}
|
}
|
||||||
scale trough {
|
scale trough,
|
||||||
|
progressbar>trough {
|
||||||
background-color: $color1;
|
background-color: $color1;
|
||||||
|
color: $color1;
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
min-height: 10px;
|
min-height: 10px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
scale trough highlight {
|
scale trough highlight,
|
||||||
|
progressbar>trough>progress {
|
||||||
background-color: $color2;
|
background-color: $color2;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -192,7 +192,7 @@
|
||||||
:revealvar reveal_battery
|
:revealvar reveal_battery
|
||||||
:revealvar-name "reveal_battery"
|
:revealvar-name "reveal_battery"
|
||||||
(button :onclick 'pavucontrol-qt --tab 3'
|
(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)))
|
(battery_children)))
|
||||||
|
|
||||||
(defpoll battery_level :initial 0
|
(defpoll battery_level :initial 0
|
||||||
|
@ -203,9 +203,7 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
(scale
|
(progress
|
||||||
:min 0
|
|
||||||
:max 100
|
|
||||||
:value {EWW_BATTERY.BAT0.capacity}
|
:value {EWW_BATTERY.BAT0.capacity}
|
||||||
:orientation "h")))
|
:orientation "h")))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue