Draft of a script that switch video and audio to TV.
$ ./switchy_hdmi
Usage: switchy_hdmi [-hvl] [-a OPTION] [-o output_card]
switchy_hdmi -a 0 # Désactive le HDMI.
switchy_hdmi -a 1 # Active seulement le HDMI.
switchy_hdmi -a 2 # Laisse le PC en master.
switchy_hdmi -a 3 # Image identique
switchy_hdmi -a 1 -o 'HDMI2' # Active seulement le HDMI, et force l'interface de sortie.
switchy_hdmi -l # Affiche les informations des cartes.
Licensed under the Apache License, Version 2.0 (the "License").
Copyright 2015-2021 Nicolas Béguier; (nbeguier - nicolas_beguier[at]hotmail[dot]com)