diff options
| author | brustybee <beebeeb5k@gmail.com> | 2026-04-03 03:27:14 +0530 |
|---|---|---|
| committer | brustybee <beebeeb5k@gmail.com> | 2026-04-03 03:27:14 +0530 |
| commit | 415f9f859e5ee48bd7e28468b95cd3fadba33f7e (patch) | |
| tree | 6ac11dd847a9f05742cd3498eabd7bcb7d19b284 /common/modules/matugen/templates/matugen-polybar.nix | |
| parent | 141855bcaed2d386107240f4090bf7f4a7364f7f (diff) | |
add bspwm and polybar ( kinda )
Diffstat (limited to 'common/modules/matugen/templates/matugen-polybar.nix')
| -rw-r--r-- | common/modules/matugen/templates/matugen-polybar.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/common/modules/matugen/templates/matugen-polybar.nix b/common/modules/matugen/templates/matugen-polybar.nix new file mode 100644 index 0000000..40cf1cf --- /dev/null +++ b/common/modules/matugen/templates/matugen-polybar.nix @@ -0,0 +1,25 @@ +{ + xdg.configFile = { + "matugen/templates/polybar-colors.ini" = { + enable = true; + text = + # ini + '' + [colors] + <* if {{ is_dark_mode }} *> + background = {{colors.surface.default.hex}} + background-alt = {{colors.surface_container.default.hex}} + <* else *> + background={{colors.surface_container.default.hex}} + background-alt = {{colors.surface_container_highest.default.hex}}; + <* endif *> + foreground = {{colors.on_surface.default.hex}} + primary = {{colors.primary.default.hex}} + on_primary = {{colors.on_primary.default.hex}} + secondary = {{colors.secondary.default.hex}} + alert = {{colors.error.default.hex}} + disabled = {{colors.outline.default.hex}} + ''; + }; + }; +} |
