mirror of
https://github.com/danth/stylix
synced 2024-11-28 15:10:41 +00:00
f8699483e4
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
19 lines
552 B
Nix
19 lines
552 B
Nix
{ config, lib, ... }:
|
|
|
|
with config.lib.stylix;
|
|
{
|
|
options.stylix.targets.hyprlock.enable = mkEnableTarget "Hyprlock" true;
|
|
|
|
config = lib.mkIf (config.stylix.enable && config.stylix.targets.hyprlock.enable) {
|
|
programs.hyprlock.settings = {
|
|
background.path = "${config.stylix.image}";
|
|
input-field = with colors; {
|
|
outer_color = "rgb(${base03})";
|
|
inner_color = "rgb(${base00})";
|
|
font_color = "rgb(${base05})";
|
|
fail_color = "rgb(${base08})";
|
|
check_color = "rgb(${base0A})";
|
|
};
|
|
};
|
|
};
|
|
}
|