no more auto off
This commit is contained in:
parent
bf01e9e6ab
commit
905bd61241
1 changed files with 1 additions and 8 deletions
|
@ -8,13 +8,6 @@ menu() {
|
||||||
echo $@ | tr ' ' '\n' | $DMENU
|
echo $@ | tr ' ' '\n' | $DMENU
|
||||||
}
|
}
|
||||||
|
|
||||||
EXTERN="VGA1"
|
|
||||||
|
|
||||||
if [ -n "$(xrandr -q | grep "$EXTERN connected")" ]; then # External Monitor connected
|
|
||||||
mode=$(menu second clone off)
|
mode=$(menu second clone off)
|
||||||
else
|
|
||||||
mode=off
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
[ -n "$mode" ] && ./monsetup.sh $mode
|
[ -n "$mode" ] && ./monsetup.sh $mode
|
||||||
|
|
Loading…
Reference in a new issue