Files
arch-system-hyprland/03-user/35-colorprofiles.sh
T
2026-07-02 15:56:21 +02:00

10 lines
463 B
Bash

# Deploy display colour profiles (ICC) to ~/.local/share/icc/.
# Monitor calibration; the compositor / colord matches them to a display.
found=0
for icc in "$REPO_ROOT/03-user/colorprofiles"/*.icc; do
[ -e "$icc" ] || continue # no matches -> skip (glob left literal)
install -Dm644 "$icc" "$HOME/.local/share/icc/$(basename "$icc")" && info "icc: $(basename "$icc")"
found=1
done
[ "$found" = 1 ] || echo " no colour profiles in 03-user/colorprofiles"