diff options
| author | henil <dedaniahenil@gmail.com> | 2021-02-10 12:22:15 +0530 |
|---|---|---|
| committer | henil <dedaniahenil@gmail.com> | 2021-02-10 12:22:15 +0530 |
| commit | af95b3ff9a7a53a5c25aa49f04756945f1dbf634 (patch) | |
| tree | 76f934c8a4414bc2effb9865a854740a1b095ae9 /src/client | |
| parent | Update references of mosaic to Zellij in md files (diff) | |
| download | sl0ppij-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.rs | 6 |
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"))) |
