From: Luke Bonham Date: Mon, 30 Jan 2017 12:23:57 +0000 (+0100) Subject: Merge pull request #297 from 2009/patch-3 X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/1400e906708e907c268a37726a2c9852c4941377?ds=sidebyside;hp=-c Merge pull request #297 from 2009/patch-3 task: fix typo so notification_preset can be overidden --- 1400e906708e907c268a37726a2c9852c4941377 diff --combined widgets/contrib/task.lua index ce4c49f,fedfffb..4a9b5b6 --- a/widgets/contrib/task.lua +++ b/widgets/contrib/task.lua @@@ -7,7 -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 } @@@ -33,7 -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*$", "")))