diff --git a/core/titlebar.lua b/core/titlebar.lua index af98678..b77f58f 100644 --- a/core/titlebar.lua +++ b/core/titlebar.lua @@ -71,6 +71,16 @@ return function(c) }, { "Toggle on tag", toggle_screentags + }, + { "Stop task", + function() + awful.spawn("kill "..tostring(c.pid)) + end + }, + { "Kill task", + function() + awful.spawn("kill -s KILL "..tostring(c.pid)) + end } }, vertical = true