summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@developercraft.com>2026-03-22 00:16:07 +0000
committerBlake Romero <blake@developercraft.com>2026-03-22 00:16:42 +0000
commitdd56509ba28d651050a7503d43eadb3d39492f66 (patch)
treedef67ca3868fcf09ebb1649602ba803a7dbab566
parentee54cbf618ca9b01ad62669485f694a38c37518d (diff)
Clarify dbus-update-activation-environment
-rw-r--r--config11
1 files changed, 10 insertions, 1 deletions
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