summaryrefslogtreecommitdiff
path: root/.config/x11/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/x11/xinitrc')
-rw-r--r--.config/x11/xinitrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
new file mode 100644
index 0000000..0c6736f
--- /dev/null
+++ b/.config/x11/xinitrc
@@ -0,0 +1,7 @@
+#!/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.
+
+[ -f $HOME/.xprofile ] && . $HOME/.xprofile