2015-01-14, 02:36
case $1 in
pre)
;;
post)
xrandr --output HDMI1 --off --set "audio" "off";
sleep 2;
xrandr --output HDMI1 --auto --set "audio" "on"
;;
esac
which one are you referring to.....is it like this?
case $1 in
pre)
;;
post)
xrandr --output HDMI1 --set "audio" "off";
sleep 2;
xrandr --output HDMI1 --auto --set "audio" "on"
;;
esac
pre)
;;
post)
xrandr --output HDMI1 --off --set "audio" "off";
sleep 2;
xrandr --output HDMI1 --auto --set "audio" "on"
;;
esac
which one are you referring to.....is it like this?
case $1 in
pre)
;;
post)
xrandr --output HDMI1 --set "audio" "off";
sleep 2;
xrandr --output HDMI1 --auto --set "audio" "on"
;;
esac