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