2011-05-25 08:26:45 +00:00
|
|
|
#!/bin/sh
|
2018-04-03 12:02:09 +00:00
|
|
|
|
|
|
|
# Turn off all outputs besides the primary - connected also matches disconnected ;-)
|
|
|
|
for d in $(xrandr | grep -v primary | awk '/connected/ { print $1 }'); do
|
2017-03-08 06:37:05 +00:00
|
|
|
xrandr --output $d --off
|
|
|
|
done
|