Is there a simple command to get all the display numbers (and only the display numbers) connected to the computer? The use case is that I'd like to have separate colour profiles ~/.color/icc/${display}.icc for each display $display, and I'd like to load each one which is available during X startup using /usr/bin/dispwin -d ${display} ~/.color/icc/${display}.icc. Current .xprofile code:
monitor_color_profile="${HOME}/.color/icc/monitor.icc"
if [ -f "$monitor_color_profile" ]
then
/usr/bin/dispwin "$monitor_color_profile"
fi
unset monitor_color_profile
I'm already using xrandr to get display sizes.