22 lines
526 B
Bash
Executable File
22 lines
526 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# this file is executed when calling startx
|
|
|
|
# default arch xinit scripts
|
|
if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
|
for f in /etc/X11/xinit/xinitrc.d/*.sh; do
|
|
[ -x "$f" ] && . "$f"
|
|
done
|
|
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
|
|
|
|
# don't put commands below the exec line
|
|
|
|
# launch the session
|
|
exec openbox-session
|