X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/c846e5e31ac14ba6b9125d6caa630caad1dda8ec..4cc47f8d61c14feccba095c09d903c0c666e9055:/widget/contrib/task.lua diff --git a/widget/contrib/task.lua b/widget/contrib/task.lua index 302642e..7e1f3d8 100644 --- a/widget/contrib/task.lua +++ b/widget/contrib/task.lua @@ -1,9 +1,8 @@ - --[[ - - Licensed under GNU General Public License v2 - * (c) 2013, Jan Xie - + + Licensed under GNU General Public License v2 + * (c) 2013, Jan Xie + --]] local helpers = require("lain.helpers") @@ -24,7 +23,6 @@ function task.hide() end function task.show(scr) - if task.followtag then task.notification_preset.screen = awful.screen.focused() elseif scr then @@ -50,7 +48,7 @@ function task.show(scr) preset = task.notification_preset, title = "task next", text = markup.font(task.notification_preset.font, - awful.util.escape(f:gsub("\n*$", ""))) + awful.util.escape(f:gsub("\n*$", ""))) }) end end)