3 # 40autorandr: Change autorandr profile on thaw/resume
5 AUTORANDR="autorandr -c"
9 for X in /tmp/.X11-unix/X*; do
10 D="${X##/tmp/.X11-unix/X}"
11 user=$(who | awk -vD="$D" '$5 ~ "\\(:"D"\\)$" {print $1}')
12 if [ x"$user" != x"" ]; then
14 /bin/su -c "${AUTORANDR}" "$user"