For instance the terminal shortcut ctrl+shift+T
opens a new terminal - regardless of whether or not there's already a running instance.
How can I make it so that ctrl+shift+T
works as follows:
if there is instance of terminal
switch to it
else
open new instance
You could do it this way:
Install "wm_ctrl" first, then create a script file with the following contents:
If you save the file as e.g. "try.sh", execute it with:
if you want to test it with Firefox.