You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
878 B
Plaintext
27 lines
878 B
Plaintext
7 years ago
|
# $Id: 30x11-common_xresources 305 2005-07-03 18:51:43Z dnusinow $
|
||
|
|
||
|
# This file is sourced by Xsession(5), not executed.
|
||
|
|
||
|
# If xrdb (from xbase-clients) is installed, merge system-wide X resources.
|
||
|
# Then merge the user's X resources, if the options file is so configured.
|
||
|
if [ -d "$SYSRESOURCES" ] && type xrdb >/dev/null 2>&1; then
|
||
|
RESOURCEFILES=$(run-parts --list $SYSRESOURCES)
|
||
|
if [ -n "$RESOURCEFILES" ]; then
|
||
|
for RESOURCEFILE in $RESOURCEFILES; do
|
||
|
xrdb -merge $RESOURCEFILE
|
||
|
done
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
if has_option allow-user-resources && [ -f "$USRRESOURCES" ]; then
|
||
|
if type xrdb >/dev/null 2>&1; then
|
||
|
xrdb -merge $USRRESOURCES
|
||
|
else
|
||
|
# Comment out this command if you desire a legacy-free X environment, and find
|
||
|
# the warning spurious.
|
||
|
message "warning: xrdb command not found; X resources not merged."
|
||
|
fi
|
||
|
fi
|
||
|
|
||
|
# vim:set ai et sts=2 sw=2 tw=80:
|