mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-22 06:35:57 +01:00
contrib/systemd: add ConditionEnvironment
This makes it clear xdpw requires WAYLAND_DISPLAY to be set before being started. Inspired by the mako service [1]. [1]: https://github.com/emersion/mako/blob/master/contrib/systemd/mako.service
This commit is contained in:
parent
884a2e808e
commit
efcbcb60aa
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
Description=Portal service (wlroots implementation)
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
ConditionEnvironment=WAYLAND_DISPLAY
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
|
|
Loading…
Reference in a new issue