diff options
Diffstat (limited to 'common/modules/matugen/templates')
| -rw-r--r-- | common/modules/matugen/templates/matugen-rofi.nix | 35 | ||||
| -rw-r--r-- | common/modules/matugen/templates/matugen-terminal.nix | 4 |
2 files changed, 20 insertions, 19 deletions
diff --git a/common/modules/matugen/templates/matugen-rofi.nix b/common/modules/matugen/templates/matugen-rofi.nix index 2241c6d..60bf616 100644 --- a/common/modules/matugen/templates/matugen-rofi.nix +++ b/common/modules/matugen/templates/matugen-rofi.nix @@ -7,23 +7,24 @@ config = lib.mkIf config.programs.rofi.enable { xdg.configFile = { "matugen/templates/rofi-colors.rasi" = { - text = - # rasi - '' - * { - <* 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_high.default.hex}}; - <* endif *> - foreground: {{colors.on_surface.default.hex}}; - selected: {{colors.primary.default.hex}}; - active: {{colors.secondary.default.hex}}; - urgent: {{colors.error.default.hex}}; - } - ''; + text = '' + * { + <* if {{ is_dark_mode }} *> + bg: {{colors.surface.default.hex}}; + bg-alt: {{colors.surface_container.default.hex}}; + <* else *> + bg: {{colors.surface_container.default.hex}}; + bg-alt: {{colors.surface_container_highest.default.hex}}; + <* endif *> + fg: {{colors.on_surface.default.hex}}; + fg-dim: {{colors.on_surface_variant.default.hex}}; + accent: {{colors.primary.default.hex}}; + selected-bg: {{colors.primary.default.hex}}; + selected-fg: {{colors.surface.default.hex}}; + urgent: {{colors.error.default.hex}}; + outline: {{colors.outline.default.hex}}; + } + ''; }; }; }; diff --git a/common/modules/matugen/templates/matugen-terminal.nix b/common/modules/matugen/templates/matugen-terminal.nix index 5ae9d86..c592226 100644 --- a/common/modules/matugen/templates/matugen-terminal.nix +++ b/common/modules/matugen/templates/matugen-terminal.nix @@ -87,9 +87,9 @@ xdg.configFile."matugen/templates/ghostty.conf" = { text = '' <* if {{ is_dark_mode }} *> - background = '{{colors.background.default.hex}}' + background = {{colors.background.default.hex}} <* else *> - background = '{{colors.surface_container.default.hex}}' + background = {{colors.surface_container.default.hex}} <* endif *> foreground = {{colors.on_surface.default.hex}} cursor-color = {{colors.primary.default.hex}} |
