complete fix
This commit is contained in:
@@ -82,7 +82,7 @@ label {
|
|||||||
# -- battery view --
|
# -- battery view --
|
||||||
label {
|
label {
|
||||||
monitor =
|
monitor =
|
||||||
text = cmd[update:1000] bash -c 'cap=$(< /sys/class/power_supply/BAT0/capacity); stat=$(< /sys/class/power_supply/BAT0/status); if [ "$stat" = "Charging" ]; then printf " %s%%" "$cap"; else printf " %s%%" "$cap"; fi'
|
text = cmd[update:1000] bash -c 'cap=$(< /sys/class/power_supply/BAT0/capacity); stat=$(< /sys/class/power_supply/BAT0/status); if [ "$stat" = "Discharging" ]; then printf " %s%%" "$cap"; else if [ "$stat" = "Charging" ]; then printf " %s%%" "$cap"; else if [ "$stat" = "Full" ]; then printf " %s%%" "$cap"; else printf ""; fi'
|
||||||
color = 0xFF{{ colors.surface_tint.default.hex_stripped }}
|
color = 0xFF{{ colors.surface_tint.default.hex_stripped }}
|
||||||
font_size = 14
|
font_size = 14
|
||||||
font_family = JetBrains Mono
|
font_family = JetBrains Mono
|
||||||
|
|||||||
Reference in New Issue
Block a user