From 3a94355e55e6e7ac3c415eeb0edbd2f68939fae4 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 10 Nov 2012 20:54:38 +0900 Subject: [PATCH] load /etc/Xll/xinit/xinitrc.d --- xinitrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xinitrc b/xinitrc index d1d0f48..42b271b 100644 --- a/xinitrc +++ b/xinitrc @@ -34,3 +34,10 @@ do export XDG_`__upper $f`_DIR=$XDG_DIRS/$f mkdir -p $XDG_DIRS/$f done + +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/*; do + [ -x "$f" ] && . "$f" + done + unset f +fi