From 0de067092c9dd19c3352554e39de73e172f29b42 Mon Sep 17 00:00:00 2001 From: beeb5k Date: Fri, 6 Mar 2026 21:37:34 +0530 Subject: Add modules --- common/modules/matugen/templates/matugen-rofi.nix | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 common/modules/matugen/templates/matugen-rofi.nix (limited to 'common/modules/matugen/templates/matugen-rofi.nix') diff --git a/common/modules/matugen/templates/matugen-rofi.nix b/common/modules/matugen/templates/matugen-rofi.nix new file mode 100644 index 0000000..9645e5a --- /dev/null +++ b/common/modules/matugen/templates/matugen-rofi.nix @@ -0,0 +1,25 @@ +{ + config, + lib, + ... +}: +{ + config = lib.mkIf config.programs.rofi.enable { + xdg.configFile = { + "matugen/templates/rofi-colors.rasi" = { + text = + # rasi + '' + * { + background: {{colors.surface.default.hex}}; + background-alt: {{colors.surface_container.default.hex}}; + foreground: {{colors.on_surface.default.hex}}; + selected: {{colors.primary.default.hex}}; + active: {{colors.secondary.default.hex}}; + urgent: {{colors.error.default.hex}}; + } + ''; + }; + }; + }; +} -- cgit v1.3.1