mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
This fixes services in Wayland session where WAYLAND_DISPLAY is only imported into the systemd user instance environment after graphical-session.target is reached (such as GNOME).
10 lines
188 B
SYSTEMD
10 lines
188 B
SYSTEMD
[Socket]
|
|
ListenStream=%t/foot.sock
|
|
|
|
[Unit]
|
|
PartOf=graphical-session.target
|
|
After=graphical-session.target
|
|
ConditionEnvironment=WAYLAND_DISPLAY
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|