diff options
author | Ryan Kavanagh <rak@rak.ac> | 2024-01-01 21:17:56 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2024-01-01 21:18:15 -0500 |
commit | f09d8cbf12a56834081f54df5e18b8a5221474ec (patch) | |
tree | 47817b3d3d8a1f50d4fa7cf1e97d8832e1581e02 /dot_config | |
parent | chezmoi shouldn't install equivs (diff) |
Set XDG_CURRENT_DESKTOP=sway in sway
Diffstat (limited to 'dot_config')
-rw-r--r-- | dot_config/sway/config.d/50_systemd-user.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dot_config/sway/config.d/50_systemd-user.conf b/dot_config/sway/config.d/50_systemd-user.conf new file mode 100644 index 0000000..36652e7 --- /dev/null +++ b/dot_config/sway/config.d/50_systemd-user.conf @@ -0,0 +1,6 @@ +# XDG_CURRENT_DESKTOP=sway is needed for screen sharing via xdg-desktop-portal +# to work. Taken from: +# https://github.com/emersion/xdg-desktop-portal-wlr/issues/193#issuecomment-1177369572 + +exec hash dbus-update-activation-environment 2>/dev/null && \ + dbus-update-activation-environment --systemd XDG_CURRENT_DESKTOP=sway |