Commit 85003c7c authored by Nico Schottelius's avatar Nico Schottelius

Disconnect all known outputs

parent 28db94c9
#!/bin/sh
for d in DP1 DP2 HDMI1 HDMI2 VIRTUAL1; do
# Turn off all outputs besides the primary - connected also matches disconnected ;-)
for d in $(xrandr | grep -v primary | awk '/connected/ { print $1 }'); do
xrandr --output $d --off
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment