feat: redesign, with onedark theme

This commit is contained in:
Zhongheng Liu 2025-02-26 13:53:41 +02:00
commit 19e72eedb7
Signed by: steven
GPG key ID: 805A28B071DAD84B
12 changed files with 71 additions and 50 deletions

View file

@ -1,6 +1,5 @@
{ ...
}: {
programs.hyprlock = {
{ config, lib, ... }: {
programs.hyprlock = lib.mkForce {
enable = true;
settings = {
general = {
@ -10,29 +9,25 @@
no_fade_in = false;
};
#background = [
# {
# path = "screenshot";
# blur_passes = 3;
# blur_size = 8;
# }
#];
background = [{
path = "screenshot";
blur_passes = 3;
blur_size = 8;
}];
#input-field = [
# {
# size = "200, 50";
# position = "0, -80";
# monitor = "";
# dots_center = true;
# fade_on_empty = false;
# font_color = "rgb(202, 211, 245)";
# inner_color = "rgb(91, 96, 120)";
# outer_color = "rgb(24, 25, 38)";
# outline_thickness = 5;
# #placeholder_text = '\'<span foreground="##cad3f5">Password...</span>'\';
# shadow_passes = 2;
# }
#];
input-field = [{
size = "400, 50";
position = "0, -80";
monitor = "";
dots_center = true;
fade_on_empty = false;
font_color = "rgb(${config.lib.stylix.colors.base07})";
inner_color = "rgb(${config.lib.stylix.colors.base02})";
outer_color = "rgb(${config.lib.stylix.colors.base03})";
outline_thickness = 1;
placeholder_text = ''<span foreground="##cad3f5">Password...</span>'';
shadow_passes = 2;
}];
};
};
}