session.c: updated dbus activation environment with more env vars

This commit is contained in:
David Fitala 2024-02-19 19:59:07 +01:00
parent 17bad48d87
commit 98c425045a

View file

@ -124,7 +124,8 @@ void
session_autostart_init(void)
{
/* Update dbus and systemd user environment, each may fail gracefully */
update_activation_env("DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP");
update_activation_env("DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP "
"XCURSOR_SIZE XCURSOR_THEME XDG_SESSION_TYPE LABWC_PID");
struct wl_list paths;
paths_config_create(&paths, "autostart");