mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 17:59:47 +01:00
readme: add dbus-update-activation-environment command
Add a dbus-update-activation-environment invocation that users can add to their config file. This should work for most users, assuming Sway, systemd, and D-Bus activation. The --systemd flag also imports the variables to the systemd user session.
This commit is contained in:
parent
835a928bd4
commit
884a2e808e
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,11 @@ ninja -C build install
|
|||
|
||||
## Running
|
||||
|
||||
Make sure `XDG_CURRENT_DESKTOP=sway` is set.
|
||||
Make sure `XDG_CURRENT_DESKTOP` is set. Make sure `WAYLAND_DISPLAY` and
|
||||
`XDG_CURRENT_DESKTOP` are imported into D-Bus. If you're running Sway, this
|
||||
can be added to your config file:
|
||||
|
||||
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
|
||||
|
||||
When correctly installed, xdg-desktop-portal should automatically invoke
|
||||
xdg-desktop-portal-wlr when needed.
|
||||
|
|
Loading…
Reference in a new issue