Source /etc/xinitrc.d scripts on startx

This commit is contained in:
Pavle Portic 2020-10-06 11:40:45 +02:00
parent 54af83874c
commit 8b17fa161d
Signed by: TheEdgeOfRage
GPG Key ID: 6758ACE46AA2A849
1 changed files with 6 additions and 1 deletions

View File

@ -13,7 +13,12 @@ if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap" &
fi
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xset fp rehash &
xset dpms 30000 30000 30000 &