Add systemd session setup to gar-session.sh
Enable proper systemd user service integration:
- Import DISPLAY and XAUTHORITY to systemd user session
- Update D-Bus activation environment
- Start gar-session.target (binds to graphical-session.target)
This allows user services like garbg.service to start reliably
at login with access to the X11 display. The gar-session.target
is needed because graphical-session.target has RefuseManualStart=yes.
Pattern follows sway-systemd, i3-session, and ArchWiki systemd/User.
- Import DISPLAY and XAUTHORITY to systemd user session
- Update D-Bus activation environment
- Start gar-session.target (binds to graphical-session.target)
This allows user services like garbg.service to start reliably
at login with access to the X11 display. The gar-session.target
is needed because graphical-session.target has RefuseManualStart=yes.
Pattern follows sway-systemd, i3-session, and ArchWiki systemd/User.
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
c5843dc11f9d994c33177f89c2dfd740bd9be290- Parents
-
c402981 - Tree
9bb6d93