diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-09-27 11:20:43 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-10-02 09:38:17 +0300 |
| commit | b3ae3adbb77c4111366cb59b80d757f361c70237 (patch) | |
| tree | af60f8397ae9971b3ab2889c0925c705abe02a25 /src/utils/mod.rs | |
| parent | 264289cd41069bd2c85c523a1b0c687eab0a89d7 (diff) | |
| download | niri-b3ae3adbb77c4111366cb59b80d757f361c70237.tar.gz niri-b3ae3adbb77c4111366cb59b80d757f361c70237.tar.bz2 niri-b3ae3adbb77c4111366cb59b80d757f361c70237.zip | |
Partially implement config includes
Subsequent commits will add merging for all leftover sections.
Diffstat (limited to 'src/utils/mod.rs')
| -rw-r--r-- | src/utils/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/mod.rs b/src/utils/mod.rs index a96c1bfc..8efa8654 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -213,7 +213,7 @@ pub fn expand_home(path: &Path) -> anyhow::Result<Option<PathBuf>> { } pub fn make_screenshot_path(config: &Config) -> anyhow::Result<Option<PathBuf>> { - let Some(path) = &config.screenshot_path else { + let Some(path) = &config.screenshot_path.0 else { return Ok(None); }; |
