From f33743bfd1fa3924d67a33ea8816c1b45d92e6a1 Mon Sep 17 00:00:00 2001 From: brustybee Date: Sat, 14 Mar 2026 20:48:08 +0530 Subject: ummmmmm light mode --- common/modules/matugen/templates/matugen-waybar.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'common/modules/matugen/templates/matugen-waybar.nix') diff --git a/common/modules/matugen/templates/matugen-waybar.nix b/common/modules/matugen/templates/matugen-waybar.nix index 602a846..acdb788 100644 --- a/common/modules/matugen/templates/matugen-waybar.nix +++ b/common/modules/matugen/templates/matugen-waybar.nix @@ -8,11 +8,19 @@ xdg.configFile."matugen/templates/waybar.css" = { text = '' ${lib.optionalString (config.beeMods.mango.window.blur.enable) '' + <* if {{ is_dark_mode }} *> @define-color bg_panel rgba({{colors.surface.default.red}}, {{colors.surface.default.green}}, {{colors.surface.default.blue}}, 0.9); + <* else *> + @define-color bg_panel rgba({{colors.surface_container.default.red}}, {{colors.surface_container.default.green}}, {{colors.surface_container.default.blue}}, 0.9); + <* endif *> + ''} + ${lib.optionalString (!config.beeMods.mango.window.blur.enable) '' + <* if {{ is_dark_mode }} *> + @define-color bg_panel {{colors.surface.default.hex}}; + <* else *> + @define-color bg_panel {{colors.surface_container.default.hex}}; + <* endif *> ''} - ${lib.optionalString ( - !config.beeMods.mango.window.blur.enable - ) "@define-color bg_panel {{colors.surface.default.hex}}; "} @define-color bg_base transparent; @define-color border_color {{colors.primary.default.hex}}; -- cgit v1.3.1