2017-10-16 14:38:02 -05:00
|
|
|
#!/bin/sh
|
2017-12-01 00:21:33 -06:00
|
|
|
|
2018-04-19 01:43:29 -05:00
|
|
|
# this file is executed when calling startx
|
|
|
|
|
2018-06-30 20:43:00 -05:00
|
|
|
# default arch xinit scripts
|
2017-10-16 14:38:02 -05:00
|
|
|
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
2018-02-04 10:09:32 -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
|
2018-05-08 02:34:04 -05:00
|
|
|
[ -f /etc/X11/xinit/.Xmodmap ] && xmodmap /etc/X11/xinit/.Xmodmap
|
|
|
|
[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
|
|
|
|
[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources
|
2018-08-28 23:46:36 -05:00
|
|
|
[ -f ~/.xprofile ] && . ~/.xprofile
|
|
|
|
|
2018-10-29 03:36:27 -05:00
|
|
|
|
2018-08-28 23:46:36 -05:00
|
|
|
# don't put commands below the exec line
|
2018-04-19 01:43:29 -05:00
|
|
|
|
2018-08-28 23:46:36 -05:00
|
|
|
# launch the session
|
2018-08-29 20:59:42 -05:00
|
|
|
exec openbox-session
|