aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sway/config.d/50_systemd-user.conf
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/sway/config.d/50_systemd-user.conf')
-rw-r--r--dot_config/sway/config.d/50_systemd-user.conf8
1 files changed, 2 insertions, 6 deletions
diff --git a/dot_config/sway/config.d/50_systemd-user.conf b/dot_config/sway/config.d/50_systemd-user.conf
index 36652e7..89d654a 100644
--- a/dot_config/sway/config.d/50_systemd-user.conf
+++ b/dot_config/sway/config.d/50_systemd-user.conf
@@ -1,6 +1,2 @@
-# 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
+exec ~/.local/lib/sway/session.sh
+exec ~/.local/lib/sway/assign-cgroups.py