X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/d836fcd6255b34dc19713d9e7b0b737fee738b59..1b428513fdede06ef54679edbfd267534f49659e:/widgets/contrib/task.lua diff --git a/widgets/contrib/task.lua b/widgets/contrib/task.lua index 4325437..afc9f93 100644 --- a/widgets/contrib/task.lua +++ b/widgets/contrib/task.lua @@ -66,9 +66,10 @@ function task.attach(widget, args) task.notification_preset = args.notification_preset if not task.notification_preset then - task.notification_preset = naughty.config.defaults - task.notification_preset.font = "Monospace 10" - task.notification_preset.icon = helpers.icons_dir .. "/taskwarrior.png" + task.notification_preset = { + font = "Monospace 10", + icon = helpers.icons_dir .. "/taskwarrior.png" + } end if widget then