Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cmake/config: use /etc/layers.json, install it to there too.
[staging/windowmanager.git]
/
src
/
config.cpp
diff --git
a/src/config.cpp
b/src/config.cpp
index
b1f3fbe
..
b610c6e
100644
(file)
--- a/
src/config.cpp
+++ b/
src/config.cpp
@@
-14,18
+14,13
@@
* limitations under the License.
*/
* limitations under the License.
*/
-//
-// Created by mfritzsc on 8/1/17.
-//
-
#include "config.hpp"
namespace wm {
config::config() : cfg() {
// Supply default values for these...
#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