summaryrefslogtreecommitdiff
path: root/.config/x11/xinitrc
blob: 2df77479af8680f076c3b3109dbd80a97bb67d67 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# This is run when 'startx' or 'xinit' is executed,
# but since display managers use ~/.xprofile instead,
# .xprofile is sourced to be compatible with both.

if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
	. "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
else
	. "$HOME/.xprofile"
fi