aboutsummaryrefslogtreecommitdiff
path: root/dot_config/sway/config.d
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2024-11-09 12:27:52 -0500
committerRyan Kavanagh <rak@rak.ac>2024-11-09 12:27:52 -0500
commitb7cfaebc955d3738a7fa5a7c671e6aed4c6dab87 (patch)
treee509652ce86a8cc1a2bfcdc1167bb79f704e96bf /dot_config/sway/config.d
parentdrop old x macro neomutt (diff)
now that systemd starts sway, fix behaviour with env vars
Diffstat (limited to 'dot_config/sway/config.d')
-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