From: copycat-killer Date: Wed, 25 Jan 2017 17:38:50 +0000 (+0100) Subject: #290 forgot fs X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/5d7c6078d11a697c4ea2a72300355d18ffd47d84?ds=sidebyside;hp=43cd98510a33e9f2d50d315a9bfc31ff8d3062c9 #290 forgot fs --- 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)