textdomain(GETTEXT_PACKAGE);
#endif
char *startup_cmd = NULL;
- char *config_file = NULL;
enum wlr_log_importance verbosity = WLR_ERROR;
int c;
}
switch (c) {
case 'c':
- config_file = optarg;
+ rc.config_file = optarg;
break;
case 'C':
rc.config_dir = optarg;
die_on_detecting_suid();
session_environment_init();
- rcxml_read(config_file);
+ rcxml_read(rc.config_file);
/*
* Set environment variable LABWC_PID to the pid of the compositor
reload_config_and_theme(void)
{
rcxml_finish();
- rcxml_read(NULL);
+ rcxml_read(rc.config_file);
theme_finish(g_server->theme);
theme_init(g_server->theme, rc.theme_name);