diff options
Diffstat (limited to 'config')
| -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 |
