cmake/config: use /etc/layers.json, install it to there too.
[staging/windowmanager.git] / src / config.cpp
index 1393fdd..b610c6e 100644 (file)
@@ -20,8 +20,7 @@ namespace wm {
 
 config::config() : cfg() {
    // Supply default values for these...
-   this->cfg["layers.json"] = getenv("LAYERS_JSON") ?: "../layers.json";
-   this->cfg["layout.json"] = getenv("LAYOUT_JSON") ?: "../layout.json";
+   this->cfg["layers.json"] = getenv("LAYERS_JSON") ?: "/etc/layers.json";
 }
 
 }  // namespace wm