From 905bd61241423e92f19469855ae1850e7499d404 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Thu, 8 Oct 2015 09:02:57 +0200 Subject: [PATCH] no more auto off --- scripts/monsetup_menu.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/monsetup_menu.sh b/scripts/monsetup_menu.sh index 6afb19e..c6a8295 100755 --- a/scripts/monsetup_menu.sh +++ b/scripts/monsetup_menu.sh @@ -8,13 +8,6 @@ menu() { echo $@ | tr ' ' '\n' | $DMENU } -EXTERN="VGA1" - -if [ -n "$(xrandr -q | grep "$EXTERN connected")" ]; then # External Monitor connected - mode=$(menu second clone off) -else - mode=off -fi - +mode=$(menu second clone off) [ -n "$mode" ] && ./monsetup.sh $mode