no more auto off

This commit is contained in:
madmaurice 2015-10-08 09:02:57 +02:00
parent bf01e9e6ab
commit 905bd61241

View file

@ -8,13 +8,6 @@ menu() {
echo $@ | tr ' ' '\n' | $DMENU echo $@ | tr ' ' '\n' | $DMENU
} }
EXTERN="VGA1" mode=$(menu second clone off)
if [ -n "$(xrandr -q | grep "$EXTERN connected")" ]; then # External Monitor connected
mode=$(menu second clone off)
else
mode=off
fi
[ -n "$mode" ] && ./monsetup.sh $mode [ -n "$mode" ] && ./monsetup.sh $mode