mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 19:22:32 +00:00
solved issue #11
This commit is contained in:
parent
c9f406bd59
commit
d3af136438
|
@ -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
|
||||
=======
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue