summaryrefslogtreecommitdiff
path: root/.xinitrc
blob: 9630105df8e7cdf8230c1b2a467c8084ee774a8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# This file is sourced only when starting X11 session with startx.
# Otherwise, display manager should set up this variable and
# source the xprofile.

export DESKTOP_SESSION="dwm"

[ -f ~/.profile ] && . ~/.profile
[ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile

exec "$DESKTOP_SESSION"