Skip to content

Hyprlock

Hyprland's GPU-accelerated screen locking utility. Just like Hyprland, it also uses Hyprlang for it's configuration.

Add the following line to the configuration:

toml
[links]
# ...
"hyprland.conf" = "~/.config/hypr/colors.conf"

INFO

You need to generate colors for these theme files to be created.

  • If you're running rong for the first time:
    bash
    rong video -vv path/to/image/or/video
  • Else regenerate colors from current image:
    bash
    rong regen -vv

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>
    # ...
}