mirror of https://github.com/lcpz/lain.git
bat: rem nil value fixed
This commit is contained in:
parent
a8eb652fd6
commit
c179b24619
|
@ -89,7 +89,7 @@ local function worker(args)
|
|||
ontop = true,
|
||||
replaces_id = bat.id
|
||||
}).id
|
||||
elseif bat.perc <= 15
|
||||
elseif bat_now.perc <= 15
|
||||
then
|
||||
bat.id = naughty.notify({
|
||||
text = "plug the cable",
|
||||
|
|
Loading…
Reference in New Issue