mirror of
https://github.com/danth/stylix
synced 2024-11-24 21:23:24 +00:00
hyprlock: init (#619)
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
parent
be94701ce7
commit
f361071a1b
1 changed files with 19 additions and 0 deletions
19
modules/hyprlock/hm.nix
Normal file
19
modules/hyprlock/hm.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ 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})";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue