2018-02-03 00:34:17 -06:00
|
|
|
#!/bin/sh
|
2018-07-31 14:20:51 -05:00
|
|
|
printf "[INFO] Loading X resource files\n"
|
2018-05-18 11:59:47 -05:00
|
|
|
if [ -r ~/.Xresources ]; then
|
2018-05-17 15:58:15 -05:00
|
|
|
xrdb ~/.Xresources
|
2018-07-31 14:20:51 -05:00
|
|
|
printf " [INFO] Loading .Xresources\n"
|
2018-05-17 15:58:15 -05:00
|
|
|
fi
|
2018-08-24 17:14:33 -05:00
|
|
|
for file in "${XDG_CONFIG_HOME:-$HOME/.config}"/xrdb/*.xresources; do
|
2018-07-31 14:20:51 -05:00
|
|
|
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
|
2018-05-17 15:51:26 -05:00
|
|
|
done
|