nix: add color option to backgrounds in the hm module (#22)

Co-authored-by: jacekpoz <jacekpoz@cock.li>
This commit is contained in:
jacekpoz 2024-02-20 17:03:06 +01:00 committed by GitHub
parent 11a6213c36
commit 4663920d29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,6 +41,12 @@ in {
type = str; type = str;
default = "echo 'timeout reached'"; default = "echo 'timeout reached'";
}; };
color = mkOption {
description = "Background color";
type = str;
default = "rgba(25, 20, 20, 1.0)";
};
}; };
}); });
}; };
@ -229,6 +235,7 @@ in {
background { background {
monitor = ${background.monitor} monitor = ${background.monitor}
path = ${background.path} path = ${background.path}
color = ${background.color}
} }
'') '')
cfg.backgrounds)} cfg.backgrounds)}