Yes yes, I REALLY want to terminate that process and I am very sure about it too, ty.

  • Fushuan [he/him]@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    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.

      • Hawk@lemmynsfw.com
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        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.

      • Fushuan [he/him]@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        Get learning lol. I know that there’s some command line program that gives process info on mouse hover and then that can be parsed with awk to get the pid, then pipe that again into kill -kill. Then use xbindkeys or whatever keybindings program to bind that script to a key.

        Tbh. For involved stuff like this chatgpt will help you more than stackoverflow.