Kory@lemmy.ml to linuxmemes@lemmy.world · 8 months agoTerminating a processlemmy.mlexternal-linkmessage-square86linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkTerminating a processlemmy.mlKory@lemmy.ml to linuxmemes@lemmy.world · 8 months agomessage-square86linkfedilinkfile-text
minus-squareZozano@lemy.lollinkfedilinkEnglisharrow-up0·8 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-up0·8 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-up0·8 months agoGreat idea, now I just need to know how to do that.
minus-squareHawk@lemmynsfw.comlinkfedilinkarrow-up0·8 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.
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.