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