al-skel/home/.xinitrc

25 lines
564 B
Plaintext
Raw Normal View History

2017-10-16 14:38:02 -05:00
#!/bin/sh
2018-04-19 01:43:29 -05:00
# this file is executed when calling startx
2018-08-28 23:46:36 -05:00
# session to run
session="openbox-session"
# default arch xinit scripts
2017-10-16 14:38:02 -05:00
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*.sh; do
[ -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
# 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
exec $session