...It brings the terminal to front on the first call, and pushes it back on the second call, so you can still see the terminal while working in the other window. I prefer this instead of minimizing, and definitely prefer this over the "always on top" terminals.
Requirements:
wmctrl
xprop
Python3
Python3 required libraries:
psutil (pip3 install psutil)
How to use:
1) Install the required commands and libraries
2) Edit the first lines of the script to set your terminal emulator (I use qterminal)
3) Configure your preferred window manager key shortcut to execute the script*
*Remember to you give it execution permissions!