Global hotkey to toggle the visibility of a window by (un-)minimizing it
Default hotkey is Meta+F1 (this can be changed in the system settings).
The relevant window is selected by searching for a specific prefix (default: Alacritty).
The window name can be changed like this:
kwriteconfig5 --file ~/.config/kwinrc --group Script-togglewindow --key WindowName
Restart KWin after changing the configuration.