hyprlock: Labels not getting updated on all screens

I have two 4K displays and universal hyprlock config meaning things should get applied to all outputs. The left screen only gets updated when something is typed in the password box, right one keeps up with the updates as expected.

hyprlock.conf
general {
  disable_loading_bar = false
  grace = 5
}

background {
  monitor =
  path = screenshot
  color = rgba(0, 0, 0, 0)
  blur_passes = 3
  blur_size = 7
  noise = 0.0117
  contrast = 0.8916
  brightness = 0.8172
  vibrancy = 10
  vibrancy_darkness = 1.0
}

label {
  monitor =
  text = cmd[update:60000] echo "$(date +'%H:%M')"
  color = rgba(229, 123, 48, 1.0)
  font_size = 256
  font_family = ProggyClean Nerd Font, bold

  position = 0, 200
  halign = center
  valign = center
}

label {
  monitor =
  text = cmd[update:2000] echo "$(if [ $(cat /sys/class/leds/input*::capslock/brightness | head -n 1) = 1 ]; then echo "!!CAPS ON NERD!!";fi)"
  color = rgba(255, 0, 0, 1.0)
  font_size = 256
  font_family = ProggyClean Nerd Font, bold

  position = 0, 0
  halign = center
  valign = center
}

input-field {
  monitor =
  size = 200, 50
  outline_thickness = 3
  outer_color = rgba(15, 15, 15, 1)
  inner_color = rgba(200, 200, 200, 1)
  font_color = rgba(100, 0, 255, 1)
  fade_on_empty = true
  placeholder_text = "<i>Password...</i>"
}

hyprlock_fail_render

edit: also noticed that red screen gets triggered often when cursor is moved on the left screen during grace period, nothing gets posted in the logs though

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Reactions: 2
  • Comments: 25 (10 by maintainers)

Most upvoted comments

Hmm you guys are right, I was able to reproduce it. I will look into it.

Is there anything else I could try? I’m getting the feeling that it looks like I’m the only one with this problem, since there are no other reports of this issue and I think it’s more or less a critical feature to have a working clock on the lockscreen.