We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ae8e4e commit ef26ee2Copy full SHA for ef26ee2
config/bspwm/bin/MonitorSetup
@@ -31,7 +31,7 @@ get_monitor_info() {
31
}
32
33
# Get connected monitors using POSIX-compliant method
34
-set -- $(echo "$XRANDR_OUTPUT" | awk '$2 == "connected" {print $1}')
+set -- $(xrandr --listactivemonitors | grep "[0-9]:" | awk '{print $4}')
35
NUM_MONITORS=$#
36
37
# Main case for monitor configuration
0 commit comments