Files
dotfiles/hyprlock/hyprlock.conf
T
funman300 1e3adbc842 feat: centralize theme palette + add waybar bluetooth module
Theme centralization:
- theme/colors.json is now the single source of truth for the palette.
- New theme/generate-theme.py renders, at install time, the three derived
  artifacts into ~/.config: colors.css (waybar/wofi @import), mako config,
  and hyprlock-colors.conf (hyprlang $tn_* variables).
- theme/colors.css removed from the repo (now generated); install.sh calls
  the generator instead of the old inline mako snippet.
- hyprlock.conf sources the generated color file and uses $tn_* variables
  instead of hardcoded rgba() values.
- Generator covered by theme/test_generate_theme.py.

Bluetooth:
- Added waybar built-in bluetooth module (config.jsonc + style.css), with
  bluez/bluez-utils in packages.txt.

Includes design spec and implementation plan under docs/superpowers/.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-07 16:45:01 -07:00

64 lines
1.2 KiB
Plaintext

source = ~/.config/theme/hyprlock-colors.conf
general {
grace = 0
hide_cursor = true
}
auth {
fingerprint {
enabled = true
ready_message = Touch reader to unlock
present_message = Scanning…
retry_delay = 250
}
}
background {
monitor =
path = screenshot
blur_passes = 3
blur_size = 8
}
label {
monitor =
text = cmd[update:1000] date +"%-I:%M %p"
font_family = JetBrains Mono Nerd Font
font_size = 96
color = $tn_fg
position = 0, 150
halign = center
valign = center
}
label {
monitor =
text = cmd[update:60000] date +"%A, %B %-d"
font_family = JetBrains Mono Nerd Font
font_size = 24
color = $tn_fg_dim
position = 0, 40
halign = center
valign = center
}
input-field {
monitor =
size = 300, 50
outline_thickness = 2
dots_size = 0.25
dots_spacing = 0.4
inner_color = $tn_bg_alt
outer_color = $tn_blue
font_color = $tn_fg
fail_color = $tn_red
check_color = $tn_green
placeholder_text = <i>Touch fingerprint or type password</i>
fail_text = <i>$FAIL</i>
fade_on_empty = false
position = 0, -50
halign = center
valign = center
}