mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +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;
|
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)}
|
||||||
|
|
Loading…
Reference in a new issue