added kill/stop functions to top menu

This commit is contained in:
Yessiest 2022-01-28 22:20:41 +04:00
parent 427951430f
commit 4401f33605
1 changed files with 10 additions and 0 deletions

View File

@ -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