diff --git a/config.example.toml b/data/config.example.toml similarity index 100% rename from config.example.toml rename to data/config.example.toml diff --git a/themes/catppuccin-mocha.css b/data/themes/catppuccin-mocha.css similarity index 100% rename from themes/catppuccin-mocha.css rename to data/themes/catppuccin-mocha.css diff --git a/themes/dracula.css b/data/themes/dracula.css similarity index 100% rename from themes/dracula.css rename to data/themes/dracula.css diff --git a/themes/gruvbox-dark.css b/data/themes/gruvbox-dark.css similarity index 100% rename from themes/gruvbox-dark.css rename to data/themes/gruvbox-dark.css diff --git a/themes/nord.css b/data/themes/nord.css similarity index 100% rename from themes/nord.css rename to data/themes/nord.css diff --git a/themes/one-dark.css b/data/themes/one-dark.css similarity index 100% rename from themes/one-dark.css rename to data/themes/one-dark.css diff --git a/themes/owl.css b/data/themes/owl.css similarity index 100% rename from themes/owl.css rename to data/themes/owl.css diff --git a/themes/rose-pine.css b/data/themes/rose-pine.css similarity index 100% rename from themes/rose-pine.css rename to data/themes/rose-pine.css diff --git a/themes/solarized-dark.css b/data/themes/solarized-dark.css similarity index 100% rename from themes/solarized-dark.css rename to data/themes/solarized-dark.css diff --git a/themes/tokyo-night.css b/data/themes/tokyo-night.css similarity index 100% rename from themes/tokyo-night.css rename to data/themes/tokyo-night.css diff --git a/src/app.rs b/src/app.rs index 202b3f7..f575a9f 100644 --- a/src/app.rs +++ b/src/app.rs @@ -82,7 +82,7 @@ impl OwlryApp { // 1. Load base structural CSS (always applied) let base_provider = CssProvider::new(); - base_provider.load_from_string(include_str!("../resources/base.css")); + base_provider.load_from_string(include_str!("resources/base.css")); gtk4::style_context_add_provider_for_display( &display, &base_provider, @@ -95,7 +95,7 @@ impl OwlryApp { let theme_provider = CssProvider::new(); match theme_name.as_str() { "owl" => { - theme_provider.load_from_string(include_str!("../resources/owl-theme.css")); + theme_provider.load_from_string(include_str!("resources/owl-theme.css")); debug!("Loaded built-in owl theme"); } _ => { diff --git a/resources/base.css b/src/resources/base.css similarity index 100% rename from resources/base.css rename to src/resources/base.css diff --git a/resources/owl-theme.css b/src/resources/owl-theme.css similarity index 100% rename from resources/owl-theme.css rename to src/resources/owl-theme.css