widget.contrib.task: use shell for spawn_cmd, set title to static 'task next'
This commit is contained in:
parent
c89fc17636
commit
5b266ecf16
2 changed files with 6 additions and 6 deletions
|
@ -31,10 +31,10 @@ function task.show(scr)
|
||||||
task.notification_preset.screen = scr
|
task.notification_preset.screen = scr
|
||||||
end
|
end
|
||||||
|
|
||||||
helpers.async(task.show_cmd, function(f)
|
helpers.async({ awful.util.shell, "-c", task.show_cmd }, function(f)
|
||||||
task.notification = naughty.notify({
|
task.notification = naughty.notify({
|
||||||
preset = task.notification_preset,
|
preset = task.notification_preset,
|
||||||
title = task.show_cmd,
|
title = "task next",
|
||||||
text = markup.font(task.notification_preset.font,
|
text = markup.font(task.notification_preset.font,
|
||||||
awful.util.escape(f:gsub("\n*$", "")))
|
awful.util.escape(f:gsub("\n*$", "")))
|
||||||
})
|
})
|
||||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit 15bc8513bed9cad33cc1d38e4d49a1f4f6008be0
|
Subproject commit d25b127c9e534582a399a670b972afa1ff72af37
|
Loading…
Add table
Reference in a new issue