X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/0b4193199b244e4f0aa365762314c0462a318014..444ffd03c128f45ac1227b33ceb951ae12506a70:/widgets/fs.lua diff --git a/widgets/fs.lua b/widgets/fs.lua index d5dd49a..f07ef98 100644 --- a/widgets/fs.lua +++ b/widgets/fs.lua @@ -98,7 +98,7 @@ local function worker(args) widget = fs.widget settings() - if notify == "on" and fs_now.used >= 99 and not helpers.get_map(partition) then + if notify == "on" and tonumber(fs_now.used) >= 99 and not helpers.get_map(partition) then naughty.notify({ title = "warning", text = partition .. " is empty!",