summaryrefslogtreecommitdiff
path: root/.xinitrc
blob: 203a5cb1d7cb2ee63f9d67825ddb02ccc0442fea (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 ck-launch-session wmii