X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/4bde4b5eea6ad1352078228c0d146f41b4c893e4..50a07a1ec18aaeeab356de56254dfdf592bd9c9b:/widgets/bat.lua diff --git a/widgets/bat.lua b/widgets/bat.lua index 09b135f..7b14a9a 100644 --- a/widgets/bat.lua +++ b/widgets/bat.lua @@ -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",