From f6ebf16a9500ad3a65c42b2f701e4e1bd9f97a15 Mon Sep 17 00:00:00 2001 From: Keith Bowes Date: Thu, 27 Feb 2025 11:44:53 -0500 Subject: [PATCH] Added environment variable identifying Waybox --- waybox/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/waybox/config.c b/waybox/config.c index 821fc03..fdd49d8 100644 --- a/waybox/config.c +++ b/waybox/config.c @@ -152,6 +152,7 @@ bool init_config(struct wb_server *server) { doc = xmlReadFile(rc_file, NULL, XML_PARSE_RECOVER); wlr_log(WLR_INFO, "Using config file %s", rc_file); + setenv("WAYBOX_CONFIG_FILE", rc_file, true); free(rc_file); if (doc == NULL) { wlr_log(WLR_ERROR, "%s", _("Unable to parse the configuration file. Consult stderr for more information."));