2017-10-16 14:38:02 -05:00
|
|
|
#!/bin/sh
|
2017-12-01 00:21:33 -06:00
|
|
|
|
2019-01-19 19:33:03 -06:00
|
|
|
# this file is run when calling startx
|
2018-04-19 01:43:29 -05:00
|
|
|
|
2019-01-19 19:33:03 -06:00
|
|
|
# default arch init scripts
|
2017-10-16 14:38:02 -05:00
|
|
|
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
2019-03-02 21:32:13 -06:00
|
|
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh; do
|
2017-12-01 00:21:33 -06:00
|
|
|
[ -x "$f" ] && . "$f"
|
|
|
|
done
|
2017-10-16 14:38:02 -05:00
|
|
|
fi
|
|
|
|
|
2018-04-19 01:43:29 -05:00
|
|
|
# user init scripts and settings
|
2019-01-19 19:33:03 -06:00
|
|
|
[ -r /etc/X11/xinit/.Xmodmap ] && xmodmap /etc/X11/xinit/.Xmodmap
|
|
|
|
[ -r ~/.Xmodmap ] && xmodmap ~/.Xmodmap
|
|
|
|
[ -r ~/.Xresources ] && xrdb -merge ~/.Xresources
|
|
|
|
[ -r ~/.xprofile ] && . ~/.xprofile
|
2018-08-28 23:46:36 -05:00
|
|
|
|
2019-01-19 19:33:03 -06:00
|
|
|
# launch the session, commands below this line will be ignored
|
2018-08-29 20:59:42 -05:00
|
|
|
exec openbox-session
|