cambio na detección

This commit is contained in:
serxoz 2024-04-25 13:08:39 +02:00
parent c69c3ce66c
commit c19e905d37

View File

@ -34,7 +34,7 @@ dual_monitor() {
# Configuracion para multiples monitores # Configuracion para multiples monitores
multi_monitor() { 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_izquierdo=$(echo $display_ports | cut -d" " -f1)
monitor_derecho=$(echo $display_ports | cut -d" " -f2) monitor_derecho=$(echo $display_ports | cut -d" " -f2)