#!/bin/sh set -e # primary /usr/bin/dispwin -I ~/icc_profiles/monitor.icc # secondary if [ -f ~/icc_profiles/monitor_b.icc ]; then /usr/bin/dispwin -d 2 -I ~/icc_profiles/monitor_b.icc fi