You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generic compositor readiness detection via a separate unit (Type=oneshot, BindsTo=wayland-session@%i.target, Before=wayland-session@%i.target). A process in that would wait for WAYLAND_DISPLAY to appear, then maybe put some extra vars and exit. This will delay graphical-session.target until WAYLAND_DISPLAY is set.
Pros:
No requirement for including uwsm finalize in compositor startup if compositor interacts with systemd and activation environments by itself.
No need to disable compositor's systemd and activation environments interaction.
Prevents premature downstream units startup if compositor interacts with systemd and activation environments by itself.
Cons:
Custom variables will miss cleanup lists.
Compositors that interact with activation environments usually do not bother with dbus quirks.
Not all compositors can/use Type=notify on their own
A delayer unit to wait for WAYLAND_DISPLAY might be worth adding regardless.
Cleanup can be determined by somehow comparing environment before and after wayland-wm@.service startup.
The text was updated successfully, but these errors were encountered:
Following discussion in YaLTeR/niri#254
Generic compositor readiness detection via a separate unit (
Type=oneshot
,BindsTo=wayland-session@%i.target
,Before=wayland-session@%i.target
). A process in that would wait forWAYLAND_DISPLAY
to appear, then maybe put some extra vars and exit. This will delaygraphical-session.target
untilWAYLAND_DISPLAY
is set.Pros:
uwsm finalize
in compositor startup if compositor interacts with systemd and activation environments by itself.Cons:
Type=notify
on their ownA delayer unit to wait for
WAYLAND_DISPLAY
might be worth adding regardless.Cleanup can be determined by somehow comparing environment before and after
wayland-wm@.service
startup.The text was updated successfully, but these errors were encountered: