aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorhenil <dedaniahenil@gmail.com>2021-02-10 12:22:15 +0530
committerhenil <dedaniahenil@gmail.com>2021-02-10 12:22:15 +0530
commitaf95b3ff9a7a53a5c25aa49f04756945f1dbf634 (patch)
tree76f934c8a4414bc2effb9865a854740a1b095ae9 /src/client
parentUpdate references of mosaic to Zellij in md files (diff)
downloadsl0ppij-af95b3ff9a7a53a5c25aa49f04756945f1dbf634.tar.gz
sl0ppij-af95b3ff9a7a53a5c25aa49f04756945f1dbf634.tar.xz
sl0ppij-af95b3ff9a7a53a5c25aa49f04756945f1dbf634.zip
Update references in `src/`
Diffstat (limited to 'src/client')
-rw-r--r--src/client/layout.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/layout.rs b/src/client/layout.rs
index d09e7618..397a26a7 100644
--- a/src/client/layout.rs
+++ b/src/client/layout.rs
@@ -1,4 +1,4 @@
-use crate::utils::consts::MOSAIC_ROOT_LAYOUT_DIR;
+use crate::utils::consts::ZELLIJ_ROOT_LAYOUT_DIR;
use directories_next::ProjectDirs;
use serde::{Deserialize, Serialize};
use std::path::{Path, PathBuf};
@@ -182,9 +182,9 @@ pub struct Layout {
impl Layout {
pub fn new(layout_path: PathBuf) -> Self {
- let project_dirs = ProjectDirs::from("org", "Mosaic Contributors", "Mosaic").unwrap();
+ let project_dirs = ProjectDirs::from("org", "Zellij Contributors", "Zellij").unwrap();
let layout_dir = project_dirs.data_dir().join("layouts/");
- let root_layout_dir = Path::new(MOSAIC_ROOT_LAYOUT_DIR);
+ let root_layout_dir = Path::new(ZELLIJ_ROOT_LAYOUT_DIR);
let mut layout_file = File::open(&layout_path)
.or_else(|_| File::open(&layout_path.with_extension("yaml")))
.or_else(|_| File::open(&layout_dir.join(&layout_path).with_extension("yaml")))