mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-12-22 05:19:48 +01:00
nix: add color option to backgrounds in the hm module (#22)
Co-authored-by: jacekpoz <jacekpoz@cock.li>
This commit is contained in:
parent
11a6213c36
commit
4663920d29
1 changed files with 7 additions and 0 deletions
|
@ -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)}
|
||||
|
|
Loading…
Reference in a new issue