sway: Update user configuration

See https://wiki.archlinux.org/title/Sway#Configuration.
This commit is contained in:
Sanchayan Maity 2024-02-21 12:15:46 +05:30
parent 86747c619d
commit 59598abdcd
Signed by: sanchayanmaity
GPG Key ID: 6F6A0609C12038F3
1 changed files with 1 additions and 7 deletions

View File

@ -1,7 +1 @@
# 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.
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
exec hash dbus-update-activation-environment 2>/dev/null && \
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
include /etc/sway/config.d/*