summaryrefslogtreecommitdiff
path: root/build-scripts/aur-git/50-systemd-user.conf
diff options
context:
space:
mode:
Diffstat (limited to 'build-scripts/aur-git/50-systemd-user.conf')
-rw-r--r--build-scripts/aur-git/50-systemd-user.conf16
1 files changed, 0 insertions, 16 deletions
diff --git a/build-scripts/aur-git/50-systemd-user.conf b/build-scripts/aur-git/50-systemd-user.conf
deleted file mode 100644
index 8781db92..00000000
--- a/build-scripts/aur-git/50-systemd-user.conf
+++ /dev/null
@@ -1,16 +0,0 @@
-# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
-# See FS#63021
-# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal.
-
-# Upstream refuses to set XDG_CURRENT_DESKTOP so we have to.
-exec systemctl --user set-environment XDG_CURRENT_DESKTOP=sway
-exec systemctl --user import-environment DISPLAY \
- SWAYSOCK \
- WAYLAND_DISPLAY \
- XDG_CURRENT_DESKTOP
-
-exec hash dbus-update-activation-environment 2>/dev/null && \
- dbus-update-activation-environment --systemd DISPLAY \
- SWAYSOCK \
- XDG_CURRENT_DESKTOP=sway \
- WAYLAND_DISPLAY