From e331f009d5e43339815331c0f02906b3e4039190 Mon Sep 17 00:00:00 2001 From: LilleAila Date: Sun, 19 Jan 2025 10:19:34 +0100 Subject: [PATCH] mini/hues: more descriptive color options --- modules/plugins/mini/hues/hues.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/modules/plugins/mini/hues/hues.nix b/modules/plugins/mini/hues/hues.nix index f848923a..13de5116 100644 --- a/modules/plugins/mini/hues/hues.nix +++ b/modules/plugins/mini/hues/hues.nix @@ -12,21 +12,13 @@ in { enable = mkEnableOption "mini.hues"; setupOpts = mkPluginSetupOption "mini.hues" { background = mkOption { - description = "The background color to use"; + description = "The hex color for the background color of the color scheme, prefixed with #"; type = hexColor; - apply = v: - if hasPrefix "#" v - then v - else "#${v}"; }; foreground = mkOption { - description = "The foreground color to use"; + description = "The hex color for the foreground color of the color scheme, prefixed with #"; type = hexColor; - apply = v: - if hasPrefix "#" v - then v - else "#${v}"; }; }; };