aboutsummaryrefslogtreecommitdiffstats
path: root/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to 'xinitrc')
-rw-r--r--xinitrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/xinitrc b/xinitrc
index 2a82804..607f719 100644
--- a/xinitrc
+++ b/xinitrc
@@ -1,3 +1,7 @@
+#!/bin/sh
+
+readonly hostxinit="${XDG_CONFIG_HOME}/host/xinitrc";
+
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
@@ -16,4 +20,6 @@ xset -b
[ -x "/usr/bin/pulseaudio" ] && exec pulseaudio --start &
[ -x "/usr/bin/redshift" ] && exec redshift -l 48.390929:-4.487095 &
+[ -f "${hostxinit}" ] && . "${hostxinit}"
+
exec i3