aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 13:34:36 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-14 14:04:51 +0200
commit757c16403ef30a498477dda53ffdcbe634f27c80 (patch)
tree1ff7b950a0af72974463f268fcd838552556d199 /src
parentdc539df27ac3009a5e29f6a537a66b86708387c5 (diff)
cmake/config: use /etc/layers.json, install it to there too.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src')
-rw-r--r--src/config.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 1393fdd..b610c6e 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -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