Kory@lemmy.ml to linuxmemes@lemmy.world · 3 months agoTerminating a processlemmy.mlimagemessage-square95fedilinkarrow-up1805arrow-down144file-text
arrow-up1761arrow-down1imageTerminating a processlemmy.mlKory@lemmy.ml to linuxmemes@lemmy.world · 3 months agomessage-square95fedilinkfile-text
minus-squareZozano@lemy.lollinkfedilinkEnglisharrow-up2·3 months agoI really want the convenience of binding xkill to a key, which I can use to double tap programs like the undead zombie they’ve become.
minus-squareFushuan [he/him]@lemm.eelinkfedilinkEnglisharrow-up4·3 months agoDunno, create a script that uses a program to get the process number of the current active window or the window the mouse is hovering, and then kill that? Bind that script inor a key with whatever program and voilá. It’s more involved sure but there’s your option.
minus-squareZozano@lemy.lollinkfedilinkEnglisharrow-up2·3 months agoGreat idea, now I just need to know how to do that.
minus-squareHawk@lemmynsfw.comlinkfedilinkarrow-up2·3 months agoWhat’s your desktop environment? I’m pretty sure hyperland and sway will give a json output of open Windows. You could parse that with jq and pipe it into fzf or dmenu? Not quite the same as the clicking but probably just as quick.
minus-squareZozano@lemy.lollinkfedilinkEnglisharrow-up1·3 months agoxkill isn’t a function of Wayland.
I really want the convenience of binding xkill to a key, which I can use to double tap programs like the undead zombie they’ve become.
Dunno, create a script that uses a program to get the process number of the current active window or the window the mouse is hovering, and then kill that? Bind that script inor a key with whatever program and voilá.
It’s more involved sure but there’s your option.
Great idea, now I just need to know how to do that.
What’s your desktop environment? I’m pretty sure hyperland and sway will give a json output of open Windows.
You could parse that with jq and pipe it into fzf or dmenu?
Not quite the same as the clicking but probably just as quick.
deleted by creator
xkill isn’t a function of Wayland.