X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1744c45790eefcd0ac572b42158becfd47175466..2429e10cc1029d9ea7269d502bdbcc408c5a2894:/widgets/contrib/task.lua diff --git a/widgets/contrib/task.lua b/widgets/contrib/task.lua index 98817f9..27061b9 100644 --- a/widgets/contrib/task.lua +++ b/widgets/contrib/task.lua @@ -40,12 +40,12 @@ end function task:show(scr_pos) task:hide() - local f, c_text + local f, c_text, scrp if task.followmouse then - local scrp = mouse.screen + scrp = mouse.screen else - local scrp = scr_pos or task.scr_pos + scrp = scr_pos or task.scr_pos end f = io.popen('task ' .. task.cmdline)