Files
repo-badwitch
repo-ptgdp
.directory
.gitignore
.gitmodules
README.md
cconvert
colortest
cowsayeternal
domainfind
fetch
fork
g910-lights
i3-settree
i3lock-custom
mclevel
packetloss
ps1test
rmbspam
te
test-notifications
tmp
tubetop
tubetop2
xephwrap
xrdbupdate
bin/xrdbupdate
2018-08-27 13:39:37 -05:00

16 lines
405 B
Bash
Executable File

#!/bin/sh
name="$(basename $0)"
printf "[INFO] Loading X resource files\n"
if [ -r ~/.Xresources ]; then
xrdb ~/.Xresources
printf "$name: Loading .Xresources\n"
fi
for file in "${XDG_CONFIG_HOME:-$HOME/.config}"/xrdb/*.xresources; do
if ! [ -r "$file" ]; then
printf "$name: Could not read .xresources file \"$file\"\n" 1>&2
else
printf "$name: Merging in $file\n"
xrdb -merge "$file"
fi
done