added kill/stop functions to top menu
This commit is contained in:
parent
427951430f
commit
4401f33605
|
@ -71,6 +71,16 @@ return function(c)
|
||||||
},
|
},
|
||||||
{ "Toggle on tag",
|
{ "Toggle on tag",
|
||||||
toggle_screentags
|
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
|
vertical = true
|
||||||
|
|
Loading…
Reference in New Issue