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,
|
ontop = true,
|
||||||
replaces_id = bat.id
|
replaces_id = bat.id
|
||||||
}).id
|
}).id
|
||||||
elseif bat.perc <= 15
|
elseif bat_now.perc <= 15
|
||||||
then
|
then
|
||||||
bat.id = naughty.notify({
|
bat.id = naughty.notify({
|
||||||
text = "plug the cable",
|
text = "plug the cable",
|
||||||
|
|
Loading…
Reference in New Issue