mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-27 21:19:51 -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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user