From dd56509ba28d651050a7503d43eadb3d39492f66 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Sun, 22 Mar 2026 00:16:07 +0000 Subject: Clarify dbus-update-activation-environment --- config | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/config b/config index 239bf86..1341d27 100644 --- a/config +++ b/config @@ -7,7 +7,16 @@ # Environment Fixes #exec export SWAYSOCK="$(ls /run/user/1000/sway-ipc.* | head -n 1)" -exec dbus-update-activation-environment WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP=sway SWAYSOCK I3SOCK XCURSOR_SIZE XCURSOR_THEME + +# If you are using a dbus-run-session wrapper to launch Sway, you will also +# need to set D-Bus variables in order for the portal and for screensharing +# features to work; add the following line to the beginning of Sway's config +# file: +exec dbus-update-activation-environment \ + WAYLAND_DISPLAY DISPLAY \ + XDG_CURRENT_DESKTOP=sway \ + SWAYSOCK I3SOCK \ + XCURSOR_SIZE XCURSOR_THEME # Variables set $mod Mod4 -- cgit