nsbin/xrandr-update.sh
Nico Schottelius f5a8cd1259 add files that are living in ~/bin for a while
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-12-28 20:14:14 +01:00

6 lines
177 B
Bash
Executable file

#!/bin/sh
# Enable connected, disable disconnected outputs
for output in $(xrandr -q | grep -v ^Screen | awk '/^[^ ]/ { print $1 }'); do
xrandr --output $output --auto
done