mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-30 22:42:11 -05:00
Import environment in xinitrc
This commit is contained in:
parent
52f8df620e
commit
d3a1299b6e
@ -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
|
# Fork a process that will exit once the pipe is closed
|
||||||
cat < "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY:1:2}" &
|
cat < "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY:1:2}" &
|
||||||
|
|
||||||
|
systemctl --user import-environment
|
||||||
systemctl --user start "x11@${DISPLAY:1:2}.target" &
|
systemctl --user start "x11@${DISPLAY:1:2}.target" &
|
||||||
# Wait for the pipe (window manager) to close
|
# Wait for the pipe (window manager) to close
|
||||||
wait
|
wait
|
||||||
|
Loading…
Reference in New Issue
Block a user