cmake/config: use /etc/layers.json, install it to there too.
[staging/windowmanager.git] / src / config.cpp
index b1f3fbe..b610c6e 100644 (file)
  * limitations under the License.
  */
 
-//
-// Created by mfritzsc on 8/1/17.
-//
-
 #include "config.hpp"
 
 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
\ No newline at end of file
+}  // namespace wm