archlinux-installation/etc/skel/.xinitrc

37 lines
591 B
Bash

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# load all settings in .Xresource file (mainly for urxvt terminal)
if [ -s ~/.Xresources ]; then
xrdb ~/.Xresources
fi
script="$HOME/.xsession"
if [ -x "$script" -a ! -d "$script" ]; then
echo "Loading xsession script $script"
. "$script"
fi
## DE: awesome
#exec awesome
## DE: XFCE4
exec startxfce4
## DE: Gnome
# exec gnome-session
## DE: KDE
#exec startkde