mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
Order the systemd services after graphical-session.target
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).
This commit is contained in:
parent
34520aa16e
commit
14ea4322fe
2 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ Requires=%N.socket
|
||||||
Description=Foot terminal server mode
|
Description=Foot terminal server mode
|
||||||
Documentation=man:foot(1)
|
Documentation=man:foot(1)
|
||||||
PartOf=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
|
After=graphical-session.target
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=graphical-session.target
|
WantedBy=graphical-session.target
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ ListenStream=%t/foot.sock
|
||||||
|
|
||||||
[Unit]
|
[Unit]
|
||||||
PartOf=graphical-session.target
|
PartOf=graphical-session.target
|
||||||
|
After=graphical-session.target
|
||||||
ConditionEnvironment=WAYLAND_DISPLAY
|
ConditionEnvironment=WAYLAND_DISPLAY
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue