Fixed titlebar menu kill/stop buttons

This commit is contained in:
Yessiest 2022-04-08 16:51:31 +04:00
parent ab3570bf0b
commit 4a6ec01f88
1 changed files with 2 additions and 2 deletions

View File

@ -65,12 +65,12 @@ local menu_widget = menu({
},
{ "Stop task",
function()
awful.spawn("kill "..tostring(c.pid))
awful.spawn("kill "..tostring(client.focus.pid))
end
},
{ "Kill task",
function()
awful.spawn("kill -s KILL "..tostring(c.pid))
awful.spawn("kill -s KILL "..tostring(client.focus.pid))
end
},
{ "Debug info",