mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
Added environment variable identifying Waybox
This commit is contained in:
parent
606663a390
commit
f6ebf16a95
1 changed files with 1 additions and 0 deletions
|
|
@ -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."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue