- /* 3: check traditional paths */
- config_path = resolve_tilde("~/.i3status.conf");
- if (path_exists(config_path))
- return config_path;
-
- config_path = strdup(SYSCONFDIR "/i3status.conf");
- if (!path_exists(config_path))
- die("Neither $XDG_CONFIG_HOME/i3status/config, nor "
- "$XDG_CONFIG_DIRS/i3status/config, nor ~/.i3status.conf nor "
- SYSCONFDIR "/i3status.conf exist.");
-
- return config_path;
+ die("Unable to find the configuration file (looked at "
+ "~/.i3status/config, $XDG_CONFIG_HOME/i3status/config, "
+ "/etc/i3status/config and $XDG_CONFIG_DIRS/i3status/config)");
+ return NULL;