#!/bin/sh printf "[INFO] Loading X resource files\n" if [ -r ~/.Xresources ]; then xrdb ~/.Xresources printf " [INFO] Loading .Xresources\n" fi for file in ~/.xrdb/*.xresources; do if ! [ -r "$file" ]; then printf " [ERROR] Could not read .xresources file $file\n" 1>&2 else printf " [INFO] Merging in $file\n" xrdb -merge "$file" fi done