95d55b8da1
This option lists the environment variables to be imported into the systemd user session. Also add a basic test of the xsession module.
19 lines
422 B
Plaintext
19 lines
422 B
Plaintext
if [[ ! -v HM_XPROFILE_SOURCED ]]; then
|
|
. ~/.xprofile
|
|
fi
|
|
unset HM_XPROFILE_SOURCED
|
|
|
|
systemctl --user start hm-graphical-session.target
|
|
|
|
init extra commands
|
|
|
|
window manager command
|
|
|
|
systemctl --user stop graphical-session.target
|
|
systemctl --user stop graphical-session-pre.target
|
|
|
|
# Wait until the units actually stop.
|
|
while [[ -n "$(systemctl --user --no-legend --state=deactivating list-units)" ]]; do
|
|
sleep 0.5
|
|
done
|