fs: fix short circuit notification
This commit is contained in:
parent
2ddb55bc44
commit
29dd7ad6fc
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ local function factory(args)
|
||||||
widget = fs.widget
|
widget = fs.widget
|
||||||
settings()
|
settings()
|
||||||
|
|
||||||
if notify == "on" and #fs_now.used > 0 and tonumber(fs_now.used) >= 99 and not helpers.get_map(partition) then
|
if notify == "on" and tonumber(fs_now.used) and tonumber(fs_now.used) >= 99 and not helpers.get_map(partition) then
|
||||||
naughty.notify({
|
naughty.notify({
|
||||||
preset = naughty.config.presets.critical,
|
preset = naughty.config.presets.critical,
|
||||||
title = "Warning",
|
title = "Warning",
|
||||||
|
|
Loading…
Add table
Reference in a new issue