X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/6cce5b6fe11fe8c69b08140d645c604fef59e42a..7594da1b59e22cf16ced92d0b8c6facf09e30181:/widgets/fs.lua diff --git a/widgets/fs.lua b/widgets/fs.lua index faa8038..391c260 100644 --- a/widgets/fs.lua +++ b/widgets/fs.lua @@ -61,7 +61,14 @@ local function worker(args) fs.options = args.options fs.followtag = args.followtag or false - fs.notification_preset = args.notification_preset or naughty.config.defaults + 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" + end fs.widget = wibox.widget.textbox()