From fd14a8152c137db853d4be743b5ba112c1b289bf Mon Sep 17 00:00:00 2001 From: Alex Clarke <39523942+Dark-Alex-17@users.noreply.github.com> Date: Tue, 4 Mar 2025 18:29:21 -0700 Subject: [PATCH] fix: change the name of the theme configuration file to 'themes' --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cf6b2b7..2915522 100644 --- a/src/main.rs +++ b/src/main.rs @@ -206,7 +206,7 @@ async fn start_ui( let theme_definitions = if let Some(ref theme_file) = theme_file_arg { load_theme_config(theme_file.to_str().expect("Invalid theme file specified"))? } else { - confy::load("managarr", "theme").unwrap_or_else(|_| vec![ThemeDefinition::default()]) + confy::load("managarr", "themes").unwrap_or_else(|_| vec![ThemeDefinition::default()]) }; let theme = if !theme_name.is_empty() { let theme_definition = theme_definitions.iter().find(|t| t.name == theme_name);