From b7cfaebc955d3738a7fa5a7c671e6aed4c6dab87 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 9 Nov 2024 12:27:52 -0500 Subject: now that systemd starts sway, fix behaviour with env vars --- dot_config/sway/config.d/50_systemd-user.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'dot_config/sway/config.d') 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 -- cgit v1.2.3