summaryrefslogtreecommitdiff
path: root/.xinitrc
blob: bfc352b45d3902949f78031c18ef4350de56472b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  echo ' ==> Running scripts in Entering xinitrc.d/*'
  for f in /etc/X11/xinit/xinitrc.d/*; do
    echo "  -> $f"
    [ -x "$f" ] && "$f" &
  done
  unset f
  echo '  -> done'
fi

usermodmap="$HOME/.xmodmap"
if [ -f "$usermodmap" ]; then
  xmodmap "$usermodmap"
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec wmii