Improve xsetup.sh (profile, Xresources, xinitrc.d)

This commit is contained in:
/TheDevKiller 2019-08-21 00:28:19 +02:00 committed by GitHub
parent ee41d926a0
commit 06550a0df4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -1,4 +1,18 @@
#!/bin/sh #!/bin/sh
. /etc/profile
. ~/.profile
. /etc/xprofile
. ~/.xprofile
xrdb -merge /etc/X11/Xresources
xrdb -merge ~/.Xresources
xinitdir="/etc/X11/xinit/xinitrc.d"
for script in $xinitdir/*; do
. "$script"
done
~/.xsession ~/.xsession
exec $@ exec $@