xrdbupdate: Respect XDG spec
This commit is contained in:
parent
49daa6098d
commit
d2ab57a58a
@ -4,7 +4,7 @@ if [ -r ~/.Xresources ]; then
|
||||
xrdb ~/.Xresources
|
||||
printf " [INFO] Loading .Xresources\n"
|
||||
fi
|
||||
for file in ~/.xrdb/*.xresources; do
|
||||
for file in "${XDG_CONFIG_HOME:-$HOME/.config}"/xrdb/*.xresources; do
|
||||
if ! [ -r "$file" ]; then
|
||||
printf " [ERROR] Could not read .xresources file $file\n" 1>&2
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user