Hyprlock
Hyprland's GPU-accelerated screen locking utility. Just like Hyprland, it also uses Hyprlang for it's configuration.
Link
Add the following line to the configuration:
toml
[links]
# ...
"hyprland.conf" = "~/.config/hypr/colors.conf"
INFO
You need to generate colors for these configuration files to be created. Run:
bash
rong video path/to/image/or/video
Apply
In your main config file (~/.config/hypr/hyprlock.conf
), source the theme file and define your layout:
txt
source = colors.conf
background {
path = $image
color = $background
# ...
}
input-field {
placeholder_text = <i><span foreground="$primary_hex">Password</span></i>
# ...
}
Reload
You don't need to reload Hyprlock as it will auto load the new theme on next startup.