summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-waybar.nix
diff options
context:
space:
mode:
authorbeeb5k <beebeeb5k@gmail.com>2026-03-06 21:37:34 +0530
committerbeeb5k <beebeeb5k@gmail.com>2026-03-06 21:37:34 +0530
commit0de067092c9dd19c3352554e39de73e172f29b42 (patch)
tree4175503766405733846687efdb29657bb322dccd /common/modules/matugen/templates/matugen-waybar.nix
parentf1de2014dcd426e015a2638222160d9d349ea4e5 (diff)
Add modules
Diffstat (limited to 'common/modules/matugen/templates/matugen-waybar.nix')
-rw-r--r--common/modules/matugen/templates/matugen-waybar.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/common/modules/matugen/templates/matugen-waybar.nix b/common/modules/matugen/templates/matugen-waybar.nix
new file mode 100644
index 0000000..add8a09
--- /dev/null
+++ b/common/modules/matugen/templates/matugen-waybar.nix
@@ -0,0 +1,24 @@
+{
+ config,
+ lib,
+ ...
+}:
+{
+ config = lib.mkIf config.beeMods.mango.waybar {
+ xdg.configFile."matugen/templates/waybar.css" = {
+ text = ''
+ @define-color bg_panel alpha({{colors.surface.default.hex}}, 0.9);
+ @define-color bg_base transparent;
+ @define-color border_color {{colors.primary.default.hex}};
+ @define-color text_main {{colors.primary.default.hex}};
+ @define-color text_muted {{colors.primary.default.hex}};
+ @define-color text_dim {{colors.primary.default.hex}};
+ @define-color text_accent {{colors.primary.default.hex}};
+ @define-color text_dark {{colors.surface_container_highest.default.hex}};
+ @define-color alert_urgent {{colors.error.default.hex}};
+ @define-color alert_minimized {{colors.error_container.default.hex}};
+ @define-color alert_critical {{colors.on_error_container.default.hex}};
+ '';
+ };
+ };
+}