docs: document labwc-session.target integration

Describe the shipped labwc-session.target in labwc(1) SESSION MANAGEMENT
and add commented-out systemctl start/stop lines to the example
autostart and shutdown files. Users on systemd-based distros can
uncomment these to pull in graphical-session.target when labwc starts
and tear it down cleanly on exit, without labwc itself mandating any
specific init system.
This commit is contained in:
Jos Dehaes 2026-04-21 16:31:30 +02:00 committed by Johan Malm
parent d8119cb354
commit af277b09ed
3 changed files with 35 additions and 0 deletions

View file

@ -1,5 +1,13 @@
# Example autostart file
# When running under systemd, uncomment the systemctl line below to pull in
# graphical-session.target via labwc-session.target. This lets systemd user
# services declaring WantedBy=graphical-session.target (panels, portals,
# notification daemons, etc.) start in sync with the labwc session. Enable
# individual services with: systemctl --user enable <unit>
#
# systemctl --user --no-block start labwc-session.target
# Set background color.
swaybg -c '#113344' >/dev/null 2>&1 &