xrdbupdate: Change logging style
This commit is contained in:
parent
7534652fca
commit
8c4a092a48
@ -1,14 +1,15 @@
|
||||
#!/bin/sh
|
||||
name="$(basename $0)"
|
||||
printf "[INFO] Loading X resource files\n"
|
||||
if [ -r ~/.Xresources ]; then
|
||||
xrdb ~/.Xresources
|
||||
printf " [INFO] Loading .Xresources\n"
|
||||
printf "$name: Loading .Xresources\n"
|
||||
fi
|
||||
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
|
||||
printf "$name: Could not read .xresources file \"$file\"\n" 1>&2
|
||||
else
|
||||
printf " [INFO] Merging in $file\n"
|
||||
printf "$name: Merging in $file\n"
|
||||
xrdb -merge "$file"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user