a0869759be
GitOrigin-RevId: ac319fd3149b23a3ad8ee24cb2def6e67acf194c
18 lines
433 B
Text
18 lines
433 B
Text
if [ -z "$HM_XPROFILE_SOURCED" ]; then
|
|
. "/home/hm-user/.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
|