X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/8ba5f4a7ef8c86c58a90433fa781dda2f444f47c..2d35d4e102074ae449ec1f4d261517fe06c5a01d:/widgets/fs.lua diff --git a/widgets/fs.lua b/widgets/fs.lua index 4e9f04b..efd31fb 100644 --- a/widgets/fs.lua +++ b/widgets/fs.lua @@ -61,10 +61,11 @@ local function worker(args) fs.notification_preset = args.notification_preset if not fs.notification_preset then - fs.notification_preset = naughty.config.defaults - fs.notification_preset.font = "Monospace 10" - fs.notification_preset.fg = "#FFFFFF" - fs.notification_preset.bg = "#000000" + fs.notification_preset = { + font = "Monospace 10", + fg = "#FFFFFF", + bg = "#000000" + } end helpers.set_map(partition, false)