diff --git a/modules/wayprompt/hm.nix b/modules/wayprompt/hm.nix index 15ed39ec..422ac021 100644 --- a/modules/wayprompt/hm.nix +++ b/modules/wayprompt/hm.nix @@ -7,29 +7,27 @@ in config.lib.stylix.mkEnableTarget "wayprompt" true; config = lib.mkIf (config.stylix.enable && cfg.enable) { - programs.wayprompt.settings.colours = - with config.lib.stylix.colors; - lib.mapAttrs (_: color: "0x${color}") { - background = base00; - border = base0D; - text = base05; - error-text = base08; + programs.wayprompt.settings.colours = with config.lib.stylix.colors; { + background = base00; + border = base0D; + text = base05; + error-text = base08; - pin-background = base01; - pin-border = base05; - pin-square = base05; + pin-background = base01; + pin-border = base05; + pin-square = base05; - ok-button = green; - ok-button-border = green; - ok-button-text = base00; + ok-button = green; + ok-button-border = green; + ok-button-text = base00; - not-ok-button = yellow; - not-ok-button-border = yellow; - not-ok-button-text = base00; + not-ok-button = yellow; + not-ok-button-border = yellow; + not-ok-button-text = base00; - cancel-button = red; - cancel-button-border = red; - cancel-button-text = base00; - }; + cancel-button = red; + cancel-button-border = red; + cancel-button-text = base00; + }; }; }