xrdbupdate: Adjust logging
This commit is contained in:
parent
2cfc81d11f
commit
3bdc167c24
@ -1,9 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
printf "[INFO] Loading X resource files\n"
|
||||||
if [ -r ~/.Xresources ]; then
|
if [ -r ~/.Xresources ]; then
|
||||||
xrdb ~/.Xresources
|
xrdb ~/.Xresources
|
||||||
printf "Loading .Xresources...\n"
|
printf " [INFO] Loading .Xresources\n"
|
||||||
fi
|
fi
|
||||||
for file in ~/.xrdb/*.xresources; do
|
for file in ~/.xrdb/*.xresources; do
|
||||||
printf "Merging in $file...\n"
|
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"
|
xrdb -merge "$file"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user