mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-01 18:15:58 +01:00
efcbcb60aa
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
11 lines
293 B
SYSTEMD
11 lines
293 B
SYSTEMD
[Unit]
|
|
Description=Portal service (wlroots implementation)
|
|
PartOf=graphical-session.target
|
|
After=graphical-session.target
|
|
ConditionEnvironment=WAYLAND_DISPLAY
|
|
|
|
[Service]
|
|
Type=dbus
|
|
BusName=org.freedesktop.impl.portal.desktop.wlr
|
|
ExecStart=@libexecdir@/xdg-desktop-portal-wlr
|
|
Restart=on-failure
|