diff options
| author | beeb5k (Vivek Tiwari) <beebeeb5k@gmail.com> | 2026-06-04 23:45:29 +0530 |
|---|---|---|
| committer | beeb5k (Vivek Tiwari) <beebeeb5k@gmail.com> | 2026-06-04 23:45:29 +0530 |
| commit | 2c2669697fdeaf7316feed3449d2082d255de5af (patch) | |
| tree | 4d8ed566c2be1ec01c54a3eb6106c40fa79ddb8a /common/modules/matugen/templates/matugen-rofi.nix | |
| parent | b6e25e72d30d9810abc0eb48058334e2495350f8 (diff) | |
Debloat
Diffstat (limited to 'common/modules/matugen/templates/matugen-rofi.nix')
| -rw-r--r-- | common/modules/matugen/templates/matugen-rofi.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/common/modules/matugen/templates/matugen-rofi.nix b/common/modules/matugen/templates/matugen-rofi.nix new file mode 100644 index 0000000..8dc50cb --- /dev/null +++ b/common/modules/matugen/templates/matugen-rofi.nix @@ -0,0 +1,31 @@ +{ + config, + lib, + ... +}: +{ + config = lib.mkIf config.programs.rofi.enable { + xdg.configFile = { + "matugen/templates/rofi-colors.rasi" = { + text = '' + * { + <* if {{ is_dark_mode }} *> + bg: {{colors.surface.default.hex}}; + bg-alt: {{colors.surface_container.default.hex}}; + <* else *> + bg: {{colors.surface_container_low.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.on_primary.default.hex}}; + urgent: {{colors.error.default.hex}}; + outline: {{colors.outline.default.hex}}; + } + ''; + }; + }; + }; +} |
