1{ ... }:
2{
3 programs.hyprlock = {
4 enable = false;
5
6 settings = {
7 general = {
8 hide_cursor = true;
9 ignore_empty_input = true;
10 fractional_scaling = 0;
11 };
12
13 background = [
14 {
15 color = "rgba(29, 32, 33, 255)";
16 blur_passes = 2;
17 vibrancy_darkness = 0.0;
18 }
19 ];
20 #
21 # shape = [
22 # # User box
23 # {
24 # size = "300, 50";
25 #
26 # rounding = 0;
27 # border_size = 2;
28 # color = "rgba(102, 92, 84, 0.33)";
29 # border_color = "rgba(168, 153, 132, 0.95)";
30 #
31 # position = "0, ${if host == "laptop" then "120" else "270"}";
32 # halign = "center";
33 # valign = "bottom";
34 # }
35 # ];
36 #
37 # label = [
38 # # Time
39 # {
40 # text = ''cmd[update:1000] echo "$(date +'%k:%M')"'';
41 #
42 # font_size = 115;
43 # font_family = "Maple Mono Bold";
44 #
45 # shadow_passes = 3;
46 # color = "rgba(235, 219, 178, 0.9)";
47 #
48 # position = "0, ${if host == "laptop" then "-25" else "-150"}";
49 # halign = "center";
50 # valign = "top";
51 # }
52 # # Date
53 # {
54 # text = ''cmd[update:1000] echo "- $(date +'%A, %B %d') -" '';
55 #
56 # font_size = 18;
57 # font_family = "Maple Mono";
58 #
59 # shadow_passes = 3;
60 # color = "rgba(235, 219, 178, 0.9)";
61 #
62 # position = "0, ${if host == "laptop" then "-225" else "-350"}";
63 # halign = "center";
64 # valign = "top";
65 # }
66 # # Username
67 # {
68 # text = " $USER";
69 #
70 # font_size = 15;
71 # font_family = "Maple Mono Bold";
72 #
73 # color = "rgba(235, 219, 178, 1)";
74 #
75 # position = "0, ${if host == "laptop" then "134" else "284"}";
76 # halign = "center";
77 # valign = "bottom";
78 # }
79 # ];
80 #
81 # input-field = [
82 # {
83 # size = "300, 50";
84 # rounding = 0;
85 # outline_thickness = 2;
86 #
87 # dots_spacing = 0.4;
88 #
89 # font_color = "rgba(235, 219, 178, 0.9)";
90 # font_family = "Maple Mono Bold";
91 #
92 # outer_color = "rgba(168, 153, 132, 0.95)";
93 # inner_color = "rgba(102, 92, 84, 0.33)";
94 # check_color = "rgba(152, 151, 26, 0.95)";
95 # fail_color = "rgba(204, 36, 29, 0.95)";
96 # capslock_color = "rgba(215, 153, 33, 0.95)";
97 # bothlock_color = "rgba(215, 153, 33, 0.95)";
98 #
99 # hide_input = false;
100 # fade_on_empty = false;
101 # placeholder_text = ''<i><span foreground="##fbf1c7">Enter Password</span></i>'';
102 #
103 # position = "0, ${if host == "laptop" then "50" else "200"}";
104 # halign = "center";
105 # valign = "bottom";
106 # }
107 # ];
108 #
109 # animation = [ "inputFieldColors, 0" ];
110 };
111 };
112}