diff options
| author | Blake Romero <blake@developercraft.com> | 2026-03-22 00:16:07 +0000 |
|---|---|---|
| committer | Blake Romero <blake@developercraft.com> | 2026-03-22 00:16:42 +0000 |
| commit | dd56509ba28d651050a7503d43eadb3d39492f66 (patch) | |
| tree | def67ca3868fcf09ebb1649602ba803a7dbab566 | |
| parent | ee54cbf618ca9b01ad62669485f694a38c37518d (diff) | |
Clarify dbus-update-activation-environment
| -rw-r--r-- | config | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |
