Custom Hyprlock input field does not override the default input field
System details
AMD Ryzen 5 2600, NVIDIA GeForce GTX 1070, Omarchy v3.0.1
What's wrong?
Prior to the update, I customized the lock screen's input field in my theme's hyprlock.conf file.
After the new update, I notice the ~/.config/hypr/hyprlock.conf has the default for input field as well.
I assume my config under the theme directory would override the default. But it turns out both input fields are showing in the lock screen.
Deleting the default input-field could solve my issue, but I am curious about the supposed workflow when configuring hyprlock. Are we supposed to modify the hyprlock.conf under the theme directory? or the one in the ~/.config/hypr?
Hey! I ran into something similar and dug into the Omarchy docs to clarify how hyprlock.conf is handled.
Recommended workflow:
- Customize only ~/.config/hypr/hyprlock.conf (or any other config).
- The theme’s config acts as a base, but it doesn’t override or merge with your personal config (~/.config).
This approach keeps your changes persistent across updates and avoids conflicts with the default theme logic.
@OsmarBogarin Thanks for this! so the purpose of the hyprlock.conf in the themes is just for colors I guess?
@Chase78712002
I spent a bit of time a few weeks back attempting the same thing. What I found is you can add your configuration template directory in the ~/.config/hypr/hyprlock.conf. It is not just for colors.
Here is an example if you want to have a look. Hope it helps!
source = ~/.config/omarchy/current/theme/hyprlock.conf
background {
monitor =
color = $color
path = ~/.config/omarchy/current/background
# blur_passes = 3
}
animations {
enabled = false
animation = fade, 1, 10, default
animation = inputFieldFade, 1, 10, default
animation = inputFieldWidth, 1, 10, default
}
# DATE
label {
monitor = DP-1
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
color = $font_color
font_size = 20
font_family = CaskaydiaMono Nerd Font
position = 0, -120
halign = center
valign = top
}
# TIME
label {
monitor = DP-1
text = cmd[update:1000] echo "$(date +"%-I:%M")"
color = $font_color
font_size = 70
font_family = CaskaydiaMono Nerd Font
position = 0, -150
halign = center
valign = top
}
# # USER
# label {
# monitor = DP-1
# text = $USER
# color = $font_color
# font_size = 30
# font_family = CaskaydiaMono Nerd Font
# position = 0, -450
# halign = center
# valign = center
# }
input-field {
monitor = DP-1
size = 450, 70
position = 0, -450
halign = center
valign = center
inner_color = $inner_color
outer_color = $outer_color
outline_thickness = 0
dots_text_format = *
font_family = CaskaydiaMono Nerd Font
font_color = $font_color
font_size = large
placeholder_text = Enter Password
check_color = $check_color
fail_text = <i>$PAMFAIL ($ATTEMPTS)</i>
rounding = -1
shadow_passes = 0
fade_on_empty = true
zindex = 10
}
auth {
fingerprint:enabled = true
}
The one in the theme directory is only to be used for colors and shouldn't be modified as it comes from the Omarchy core and will get overwritten on every update.
Make your changes in ~/.config/hypr/hyprlock.conf and you should be good to go. On occasion, we do overwrite those files but you should always be prompted for that and a backup will be saved alongside.