Update eww-battery-monitor
This commit is contained in:
parent
a0d2b83c4f
commit
ed0b55c3b4
@ -58,7 +58,7 @@ function print_state() {
|
||||
percentage = state_info["percentage"]
|
||||
tooltip = ""
|
||||
if (state_info["charging"]) {
|
||||
tooltip = "Until Full: " state_info["time to full"]
|
||||
tooltip = "Until Full: " (percentage == 100 ? "N/A" : state_info["time to full"])
|
||||
} else {
|
||||
tooltip = "Until Empty: " state_info["time to empty"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user