Save the toggle_visibility.sh
in your home
directory
$ chmod +x toggle_visibility.sh
Set a new Shortcut for e.g terminator
:
Command Shortcut
~/toggle_visibility.sh terminator F12
Save and now when you press F12
you toggle terminator visibility, you can use the script for any application and combination of shortcuts.