Skip to content

Commit da504d3

Browse files
committed
feat(home/hyprlock): fixes for light mode + scaling
1 parent 1ad004a commit da504d3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

home/gabriel/features/desktop/hyprland/hyprlock.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
background = {
2121
path = "screenshot";
2222
blur_passes = 4;
23+
brightness = if config.colorscheme.mode == "light" then 1.1 else 0.8;
2324
};
2425
input-field = lib.forEach config.monitors (monitor: {
2526
monitor = monitor.name;
26-
dots_size = toString (0.15 * monitor.scale);
27-
27+
size = "800, 90";
28+
dots_size = toString (0.25 * monitor.scale);
29+
placeholder_text = "";
2830
font_color = "rgb(${lib.removePrefix "#" config.colorscheme.colors.on_surface})";
2931
font_family = config.fontProfiles.regular.name;
3032
position = "0, -20%";
@@ -48,7 +50,7 @@
4850
{
4951
monitor = monitor.name;
5052
text = "$FAIL";
51-
font_color = "rgb(${lib.removePrefix "#" config.colorscheme.colors.on_surface})";
53+
color = "rgb(${lib.removePrefix "#" config.colorscheme.colors.on_surface})";
5254
font_family = config.fontProfiles.regular.name;
5355
font_size = toString (builtins.floor (18 * monitor.scale));
5456
position = "0, -40%";

0 commit comments

Comments
 (0)