From d3a1299b6e35558e4021ff79274563f76c01c4f4 Mon Sep 17 00:00:00 2001 From: Jack Foltz Date: Wed, 5 Dec 2018 00:49:11 -0500 Subject: [PATCH] Import environment in xinitrc --- lain/.xinitrc | 1 + 1 file changed, 1 insertion(+) diff --git a/lain/.xinitrc b/lain/.xinitrc index 55d9e00..b47c152 100644 --- a/lain/.xinitrc +++ b/lain/.xinitrc @@ -27,6 +27,7 @@ trap "rm -f ${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY:1:2}" EXIT # Fork a process that will exit once the pipe is closed cat < "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY:1:2}" & +systemctl --user import-environment systemctl --user start "x11@${DISPLAY:1:2}.target" & # Wait for the pipe (window manager) to close wait