Skip to content

Instantly share code, notes, and snippets.

View SirCrocker's full-sized avatar
🎯
Focusing

Agustin SirCrocker

🎯
Focusing
View GitHub Profile
@SirCrocker
SirCrocker / rpi-hdmi-tv.sh
Last active April 5, 2023 11:07
Turn off and on the HDMI port and the TV. Options: on, off & status.
#!/bin/sh
#Enable and disable TV/HDMI
hdmi_status ()
{
vcgencmd display_power | grep "display_power=0" >/dev/null
}
cec_status ()