1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00

solved issue #11

This commit is contained in:
luke bonham 2013-09-19 13:51:38 +02:00
parent c9f406bd59
commit d3af136438
3 changed files with 5 additions and 4 deletions

View file

@ -39,7 +39,8 @@ Notable features
- Vi-like client focus
- Nice client border (colors change along with process status)
- Non-empty tag browsing
- Dynamic tag renaming
- Tag renaming
- Dynamic useless gaps
Gallery
=======

View file

@ -202,9 +202,9 @@ batwidget = lain.widgets.bat({
if bat_now.perc == "N/A" then
bat_now.perc = "AC"
baticon:set_image(beautiful.widget_ac)
elseif tostring(bat_now.perc) <= 5 then
elseif tonumber(bat_now.perc) <= 5 then
baticon:set_image(beautiful.widget_battery_empty)
elseif tostring(bat_now.perc) <= 15 then
elseif tonumber(bat_now.perc) <= 15 then
baticon:set_image(beautiful.widget_battery_low)
else
baticon:set_image(beautiful.widget_battery)

View file

@ -178,7 +178,7 @@ fshome = lain.widgets.fs({
if used >= 90 then
hdd = " Hdd "
p = used
p = used .. " "
end
widget:set_markup(markup(gray, hdd) .. markup(white, p))