1
# $Id: 30x11-common_xresources 305 2005-07-03 18:51:43Z dnusinow $
3
# This file is sourced by Xsession(5), not executed.
5
# If xrdb (from xbase-clients) is installed, merge system-wide X resources.
6
# Then merge the user's X resources, if the options file is so configured.
7
if [ -d "$SYSRESOURCES" ] && type xrdb >/dev/null 2>&1; then
8
RESOURCEFILES=$(run-parts --list $SYSRESOURCES)
9
if [ -n "$RESOURCEFILES" ]; then
10
for RESOURCEFILE in $RESOURCEFILES; do
11
xrdb -merge $RESOURCEFILE
16
if has_option allow-user-resources && [ -f "$USRRESOURCES" ]; then
17
if type xrdb >/dev/null 2>&1; then
18
xrdb -merge $USRRESOURCES
20
# Comment out this command if you desire a legacy-free X environment, and find
21
# the warning spurious.
22
message "warning: xrdb command not found; X resources not merged."
26
# vim:set ai et sts=2 sw=2 tw=80: