summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-waybar.nix
diff options
context:
space:
mode:
authorbrustybee <bee@4d2.org>2026-03-14 20:48:08 +0530
committerbrustybee <bee@4d2.org>2026-03-14 20:48:08 +0530
commitf33743bfd1fa3924d67a33ea8816c1b45d92e6a1 (patch)
tree32100d087fac464626a5df68ca9c1949c5d473e5 /common/modules/matugen/templates/matugen-waybar.nix
parent8ae1bc8bc07b938a7fa44106ce699ad0dc17b510 (diff)
ummmmmm light mode
Diffstat (limited to 'common/modules/matugen/templates/matugen-waybar.nix')
-rw-r--r--common/modules/matugen/templates/matugen-waybar.nix14
1 files changed, 11 insertions, 3 deletions
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}};