Compare commits

..

No commits in common. "fbc941f5d2242bde96c51ee1917259a5e019379f" and "f6a8f5004bc95372cbdc36a2f1d7666f28849c10" have entirely different histories.

1 changed files with 6 additions and 6 deletions

View File

@ -112,7 +112,7 @@ widget.update = function(stdout)
timeout = 5,
ignore_suspend = true,
border_color = beautiful.color.battery.danger,
border_color = beautiful.color.widget.danger,
preset = beautiful.notification_templates.bottom_right
})
break
@ -131,11 +131,11 @@ widget.update = function(stdout)
widget.arc.value = batpec
if batpec > 60 then
widget.progressbar.color = beautiful.color.battery.good
widget.progressbar.color = beautiful.color.widget.good
elseif batpec > 40 then
widget.progressbar.color = beautiful.color.battery.low
widget.progressbar.color = beautiful.color.widget.low
elseif batpec <= 40 then
widget.progressbar.color = beautiful.color.battery.danger
widget.progressbar.color = beautiful.color.widget.danger
end
@ -157,9 +157,9 @@ widget.update = function(stdout)
widget.icon.image = widget.image_path
if (not discharging) and (batpec > 90) then
widget.progressbar.border_color = beautiful.color.battery.good
widget.progressbar.border_color = beautiful.color.widget.good
elseif (discharging) and (batpec <= 25) then
widget.progressbar.border_color = beautiful.color.battery.danger
widget.progressbar.border_color = beautiful.color.widget.danger
else
widget.progressbar.border_color = beautiful.color.bar.active
end