aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorHenil Dedania <dedaniahenil@gmail.com>2021-01-21 12:04:29 +0530
committerGitHub <noreply@github.com>2021-01-21 12:04:29 +0530
commitc32b837df772cbfb53ccd3b5434aefcbe7aaaf0b (patch)
treebf74330c49e1f230a2693632a1db2c94a6309f6e /src/utils
parentfix(main): do not hang on exit (#150) (diff)
downloadsl0ppij-c32b837df772cbfb53ccd3b5434aefcbe7aaaf0b.tar.gz
sl0ppij-c32b837df772cbfb53ccd3b5434aefcbe7aaaf0b.tar.xz
sl0ppij-c32b837df772cbfb53ccd3b5434aefcbe7aaaf0b.zip
feat(plugin): Search in root folder for plugins and layout files
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/consts.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/consts.rs b/src/utils/consts.rs
index 5aa6aab4..7a0c9ddf 100644
--- a/src/utils/consts.rs
+++ b/src/utils/consts.rs
@@ -2,3 +2,5 @@ pub const MOSAIC_TMP_DIR: &str = "/tmp/mosaic";
pub const MOSAIC_TMP_LOG_DIR: &str = "/tmp/mosaic/mosaic-log";
pub const MOSAIC_TMP_LOG_FILE: &str = "/tmp/mosaic/mosaic-log/log.txt";
pub const MOSAIC_IPC_PIPE: &str = "/tmp/mosaic/ipc";
+pub const MOSAIC_ROOT_PLUGIN_DIR: &str = "/usr/share/mosaic/plugins";
+pub const MOSAIC_ROOT_LAYOUT_DIR: &str = "/usr/share/mosaic/layouts";