1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-24 04:22:50 -05:00

Import environment in xinitrc

This commit is contained in:
Jack Foltz 2018-12-05 00:49:11 -05:00
parent 52f8df620e
commit d3a1299b6e
Signed by: foltik
GPG Key ID: D1F0331758D1F29A

View File

@ -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