diff options
author | Joshua Yun <joshua@joshuayun.com> | 2025-03-31 23:24:56 -0500 |
---|---|---|
committer | Joshua Yun <joshua@joshuayun.com> | 2025-03-31 23:24:56 -0500 |
commit | 9c7860886279977bf5d7a9792bae931ae5363a3f (patch) | |
tree | 23eea47ac9e121fb5586104ea314a6a8a2007e3d /config.def.h | |
parent | b38b5e28d9f28a9382a290461fb12c7a58d19256 (diff) | |
download | dwl-9c7860886279977bf5d7a9792bae931ae5363a3f.tar.gz |
feat: xwayland display export, environment variables set in dwl
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 5 |
1 files changed, 5 insertions, 0 deletions
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, |