Skip to main content
Version: main

hyprlock

Generate colour themes for Hyprlock screen locker.

Description

Hyprlock is the screen locker for Hyprland. The plugin generates a configuration file that styles the lock screen with colours from your theme.

Output path

~/.config/hypr/tinct-hyprlock.conf

Usage

tinct generate -i image -p ~/wallpaper.jpg -o hyprlock

Flags

FlagDefaultDescription
--hyprlock.output-dir~/.config/hyprOutput directory for Hyprlock theme files

Configuration

Include the generated theme in your Hyprlock configuration.

Add to your ~/.config/hypr/hyprlock.conf:

source = ~/.config/hypr/tinct-hyprlock.conf

Themed elements

The Hyprlock theme affects:

  • Background colour/image
  • Input field styling
  • Label colours
  • Border colours

Generated format

# Hyprlock theme generated by tinct

general {
hide_cursor = true
}

background {
path = screenshot
color = rgba(30, 30, 46, 1.0)
blur_passes = 3
blur_size = 8
}

input-field {
size = 200, 50
outline_thickness = 3
dots_size = 0.33
dots_spacing = 0.15
outer_color = rgba(137, 180, 250, 1.0)
inner_color = rgba(30, 30, 46, 1.0)
font_color = rgba(205, 214, 244, 1.0)
fade_on_empty = true
placeholder_text = <i>Password...</i>
}

Complete Hyprland theming

For full Hyprland ecosystem theming, combine plugins:

tinct generate -i image -p ~/wallpaper.jpg \
-o hyprland \
-o hyprlock \
-o hyprpaper

See also