Clean up init scripts to avoid issues with new installer changes

This commit is contained in:
natemaia
2019-01-19 17:33:03 -08:00
parent c9daae7d28
commit 84e1360ee3
4 changed files with 15 additions and 15 deletions

View File

@ -1,8 +1,8 @@
#!/bin/sh
# this file is executed when calling startx
# this file is run when calling startx
# default arch xinit scripts
# default arch init scripts
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*.sh; do
[ -x "$f" ] && . "$f"
@ -10,10 +10,10 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
fi
# user init scripts and settings
[ -f /etc/X11/xinit/.Xmodmap ] && xmodmap /etc/X11/xinit/.Xmodmap
[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
[ -f ~/.xprofile ] && . ~/.xprofile
[ -r /etc/X11/xinit/.Xmodmap ] && xmodmap /etc/X11/xinit/.Xmodmap
[ -r ~/.Xmodmap ] && xmodmap ~/.Xmodmap
[ -r ~/.Xresources ] && xrdb -merge ~/.Xresources
[ -r ~/.xprofile ] && . ~/.xprofile
# launch the session, don't put commands below the exec line
# launch the session, commands below this line will be ignored
exec openbox-session