From c19e905d37837171f4a2c4e7c1c38d79d5018863 Mon Sep 17 00:00:00 2001 From: serxoz Date: Thu, 25 Apr 2024 13:08:39 +0200 Subject: [PATCH] =?UTF-8?q?cambio=20na=20detecci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/monitors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/monitors b/bin/monitors index e0d5055..3aeb5d6 100755 --- a/bin/monitors +++ b/bin/monitors @@ -34,7 +34,7 @@ dual_monitor() { # Configuracion para multiples monitores multi_monitor() { - display_ports=$(xrandr --query | grep "DisplayPort" | grep -v "disconnected" | cut -d" " -f1) + display_ports=$(xrandr --query | grep "DisplayPort" | grep " connected" | cut -d" " -f1) monitor_izquierdo=$(echo $display_ports | cut -d" " -f1) monitor_derecho=$(echo $display_ports | cut -d" " -f2)