From 4663920d2913a616e7e46378e04a9c05ec15e7c6 Mon Sep 17 00:00:00 2001 From: jacekpoz <64381190+jacekpoz@users.noreply.github.com> Date: Tue, 20 Feb 2024 17:03:06 +0100 Subject: [PATCH] nix: add color option to backgrounds in the hm module (#22) Co-authored-by: jacekpoz --- nix/hm-module.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 53a49c8..816ba4a 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -41,6 +41,12 @@ in { type = str; default = "echo 'timeout reached'"; }; + + color = mkOption { + description = "Background color"; + type = str; + default = "rgba(25, 20, 20, 1.0)"; + }; }; }); }; @@ -229,6 +235,7 @@ in { background { monitor = ${background.monitor} path = ${background.path} + color = ${background.color} } '') cfg.backgrounds)}