A shell script for killing Wine and Proton processes.
GloriousEggroll's script with wineserver -k
added and a desktop file.
Arch - the AUR.
Different distros:
Home
Download killwine.sh, allow executing, and create an alias command:
alias killwine='
/path/to/killwine.sh'
in one of these files: ~/.bashrc
/ ~/.zshrc
/ ~/.config/fish/config.fish
.
If you want to use the desktop file, move it to ~/.local/share/applications
Root
Download killwine.sh, allow executing, and move it to /usr/bin
If you want to use the desktop file, move it to /usr/share/applications