bin/xrdbupdate
Salt e0f4b57807 xrdbupdate: Test for readability because symlinks
Lotsa people symlink their Xresources
2018-05-18 11:59:47 -05:00

10 lines
193 B
Bash
Executable File

#!/bin/sh
if [ -r ~/.Xresources ]; then
xrdb ~/.Xresources
printf "Loading .Xresources...\n"
fi
for file in ~/.xrdb/*.xresources; do
printf "Merging in $file...\n"
xrdb -merge "$file"
done