rename conf.d -> config.d; convert systemd script to conf
conf.d was created to house 10-systemd.sh but the default config references config.d. the shell script was also converted to sway configuration. Same result, different format; It seems more right to the author. See FS#63021 for more detailsledoian
parent
49b492fb3c
commit
97e0cd631a
@ -1,10 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# FS#63021
|
|
||||||
#
|
|
||||||
|
|
||||||
systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XCURSOR_SIZE
|
|
||||||
|
|
||||||
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
|
|
||||||
dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XCURSOR_SIZE
|
|
||||||
fi
|
|
@ -0,0 +1,6 @@
|
|||||||
|
# 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 XCURSOR_SIZE
|
||||||
|
exec hash dbus-update-activation-environment && dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XCURSOR_SIZE
|
Loading…
Reference in New Issue