summaryrefslogtreecommitdiff
path: root/common/modules/matugen/templates/matugen-rofi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'common/modules/matugen/templates/matugen-rofi.nix')
-rw-r--r--common/modules/matugen/templates/matugen-rofi.nix25
1 files changed, 25 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..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}};
+ }
+ '';
+ };
+ };
+ };
+}