From 9c7860886279977bf5d7a9792bae931ae5363a3f Mon Sep 17 00:00:00 2001 From: Joshua Yun Date: Mon, 31 Mar 2025 23:24:56 -0500 Subject: feat: xwayland display export, environment variables set in dwl --- config.def.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 54f4c42..9f97854 100644 --- a/config.def.h +++ b/config.def.h @@ -28,6 +28,11 @@ static char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; /* logging */ static int log_level = WLR_ERROR; +static const Env envs[] = { + /* variable value */ + { "XDG_CURRENT_DESKTOP", "wlroots" }, +}; + /* Autostart */ static const char *const autostart[] = { "systemctl", "--user" , "import-environment", "WAYLAND_DISPLAY", "XDG_CURRENT_DESKTOP", "XDG_SESSION_DESKTOP", "XDG_SESSION_TYPE", NULL, -- cgit v1.2.3