X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/6cce5b6fe11fe8c69b08140d645c604fef59e42a..a58e36385cbd3f177134210386a6e6232d673a17:/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()