nsbin/x-off

7 lines
204 B
Text
Raw Normal View History

#!/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
xrandr --output $d --off
done