mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-17 07:49:09 +01:00
Update battery.lua
This commit is contained in:
parent
35bdba1e4a
commit
bef134560f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ watch(
|
|||
elseif (charge >= 15 and charge < 40) then batteryType="battery-caution%s-symbolic"
|
||||
elseif (charge >= 40 and charge < 60) then batteryType="battery-low%s-symbolic"
|
||||
elseif (charge >= 60 and charge < 80) then batteryType="battery-good%s-symbolic"
|
||||
elseif (charge >= 80 and charge <= 95) then batteryType="battery-full%s-symbolic"
|
||||
elseif (charge >= 80 and charge <= 100) then batteryType="battery-full%s-symbolic"
|
||||
end
|
||||
if status == 'Charging' then
|
||||
batteryType = string.format(batteryType,'-charging')
|
||||
|
|
Loading…
Reference in a new issue