bin/xrdbupdate
2018-07-31 14:20:51 -05:00

15 lines
353 B
Bash
Executable File

#!/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