X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/49a4df385e953156e6d1e2ee0bcfd07d8501d0f4..33223f2816470636c45b280c77b9da57d5fb9d4b:/widgets/contrib/task.lua?ds=sidebyside diff --git a/widgets/contrib/task.lua b/widgets/contrib/task.lua index afc9f93..4a9b5b6 100644 --- a/widgets/contrib/task.lua +++ b/widgets/contrib/task.lua @@ -7,6 +7,7 @@ --]] local helpers = require("lain.helpers") +local markup = require("lain.util").markup local awful = require("awful") local naughty = require("naughty") local string = { format = string.format, gsub = string.gsub } @@ -32,7 +33,7 @@ function task.show(scr) helpers.async(task.show_cmd, function(f) task.notification = naughty.notify({ - preset = task_notification_preset, + preset = task.notification_preset, title = task.show_cmd, text = markup.font(task.notification_preset.font, awful.util.escape(f:gsub("\n*$", "")))