2020-10-12 00:22:58 +00:00
|
|
|
if [ -z "$HM_XPROFILE_SOURCED" ]; then
|
2021-07-02 22:36:30 +00:00
|
|
|
. "/home/hm-user/.xprofile"
|
2020-10-12 00:22:58 +00: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.
|
|
|
|
while [ -n "$(systemctl --user --no-legend --state=deactivating list-units)" ]; do
|
|
|
|
sleep 0.5
|
|
|
|
done
|
2023-08-08 10:19:01 +00:00
|
|
|
|
|
|
|
systemctl --user unset-environment 'DBUS_SESSION_BUS_ADDRESS' 'DISPLAY' 'SSH_AUTH_SOCK' 'XAUTHORITY' 'XDG_DATA_DIRS' 'XDG_RUNTIME_DIR' 'XDG_SESSION_ID' 'EXTRA_IMPORTED_VARIABLE'
|