sway: Update user configuration
See https://wiki.archlinux.org/title/Sway#Configuration.
This commit is contained in:
parent
86747c619d
commit
59598abdcd
1 changed files with 1 additions and 7 deletions
|
@ -1,7 +1 @@
|
||||||
# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment
|
include /etc/sway/config.d/*
|
||||||
# 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
|
|
||||||
|
|
Loading…
Reference in a new issue