Skip to content

Instantly share code, notes, and snippets.

View Some1Elsewhere's full-sized avatar
💭
stable genius.

Some1Elsewhere

💭
stable genius.
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 ()