solved issue #11
This commit is contained in:
parent
c9f406bd59
commit
d3af136438
|
@ -39,7 +39,8 @@ Notable features
|
||||||
- Vi-like client focus
|
- Vi-like client focus
|
||||||
- Nice client border (colors change along with process status)
|
- Nice client border (colors change along with process status)
|
||||||
- Non-empty tag browsing
|
- Non-empty tag browsing
|
||||||
- Dynamic tag renaming
|
- Tag renaming
|
||||||
|
- Dynamic useless gaps
|
||||||
|
|
||||||
Gallery
|
Gallery
|
||||||
=======
|
=======
|
||||||
|
|
|
@ -202,9 +202,9 @@ batwidget = lain.widgets.bat({
|
||||||
if bat_now.perc == "N/A" then
|
if bat_now.perc == "N/A" then
|
||||||
bat_now.perc = "AC"
|
bat_now.perc = "AC"
|
||||||
baticon:set_image(beautiful.widget_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)
|
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)
|
baticon:set_image(beautiful.widget_battery_low)
|
||||||
else
|
else
|
||||||
baticon:set_image(beautiful.widget_battery)
|
baticon:set_image(beautiful.widget_battery)
|
||||||
|
|
|
@ -178,7 +178,7 @@ fshome = lain.widgets.fs({
|
||||||
|
|
||||||
if used >= 90 then
|
if used >= 90 then
|
||||||
hdd = " Hdd "
|
hdd = " Hdd "
|
||||||
p = used
|
p = used .. " "
|
||||||
end
|
end
|
||||||
|
|
||||||
widget:set_markup(markup(gray, hdd) .. markup(white, p))
|
widget:set_markup(markup(gray, hdd) .. markup(white, p))
|
||||||
|
|
Loading…
Reference in New Issue