Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Label is not updating without input-field #134

Closed
adamchukandrii opened this issue Mar 5, 2024 · 4 comments · Fixed by #147
Closed

[BUG] Label is not updating without input-field #134

adamchukandrii opened this issue Mar 5, 2024 · 4 comments · Fixed by #147

Comments

@adamchukandrii
Copy link

adamchukandrii commented Mar 5, 2024

If input field is hidden - the label is not updating

My config

input-field {
monitor =
size = 200, 50
outline_thickness = 3
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
# dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
# outer_color = rgb(151515)
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true
placeholder_text = Password # Text rendered in the input box when it's empty.
hide_input = false
# rounding = -1 # -1 means complete rounding (circle/oval)
position = 0, -50
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo " $(date +"%H:%M:%S") "
color = rgba(200, 200, 200, 1.0)
font_size = 64
font_family = Noto Sans
position = 0, 16
halign = center
valign = center
}

The clock stuck at the time of locking and changes seconds only when input is visible
system:
Arch
hyprlock installed with yay

@leon-erd
Copy link
Contributor

leon-erd commented Mar 5, 2024

For me the label not updating happens when I have external monitors attached and has nothing to do with the input field being visible or not. When I type something sometimes the labels get updated once or twice. Most of the time they start glitching.

@zakk4223
Copy link

zakk4223 commented Mar 6, 2024

I have three monitors and similar config for a clock label.

I notice that the time only updates on one of the displays. The others only update when I type.
I can't figure out if there's a pattern to which monitor updates.

@Andy3153
Copy link

Andy3153 commented Mar 7, 2024

Seconding this. Having the same issue. Running hyprland-git from AUR

@NoisyFlake
Copy link

Same here. Got three monitors always attached, but two are just displaying an image. The middle has all the labels and input fields, and the time only gets updated when typing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants