X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/444ffd03c128f45ac1227b33ceb951ae12506a70..a89bbec6f39985515c33aa71dab1689f863b7851:/widgets/fs.lua diff --git a/widgets/fs.lua b/widgets/fs.lua index f07ef98..b48fcd0 100644 --- a/widgets/fs.lua +++ b/widgets/fs.lua @@ -27,6 +27,7 @@ local fs = {} fs.unit = { ["mb"] = 1024, ["gb"] = 1024^2 } function fs.hide() + if not fs.notification then return end naughty.destroy(fs.notification) fs.notification = nil end