2019-09-11 20:11:16 +02:00
|
|
|
if [ -z "$HM_XPROFILE_SOURCED" ]; then
|
2021-06-28 17:11:15 +02:00
|
|
|
. "/home/hm-user/.xprofile"
|
2019-06-23 14:06:29 +02:00
|
|
|
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.
|
2019-09-11 20:11:16 +02:00
|
|
|
while [ -n "$(systemctl --user --no-legend --state=deactivating list-units)" ]; do
|
2019-06-23 14:06:29 +02:00
|
|
|
sleep 0.5
|
|
|
|
done
|