- files/hypr/hyprlock.conf: blurred-screenshot lock with Kanagawa clock, date, user label, and rounded password input (green/red on success/fail) - files/mako/config: Kanagawa Wave notifications, JetBrainsMono Nerd Font, per-urgency border colors, critical stays until dismissed - files/bin/power-menu: rofi-driven Lock/Suspend/Logout/Reboot/Shutdown, bound to Super+Shift+E and the Waybar power button - lib/hyprland.sh: link the three new pieces (hyprlock.conf, mako/config, ~/.local/bin/power-menu)
78 lines
1.7 KiB
Text
78 lines
1.7 KiB
Text
# Kanagawa Wave themed lock screen.
|
|
# Test: hyprlock --immediate
|
|
|
|
general {
|
|
grace = 0
|
|
hide_cursor = true
|
|
no_fade_in = false
|
|
}
|
|
|
|
background {
|
|
monitor =
|
|
path = screenshot
|
|
blur_passes = 3
|
|
blur_size = 8
|
|
contrast = 0.9
|
|
brightness = 0.75
|
|
vibrancy = 0.17
|
|
}
|
|
|
|
# Clock
|
|
label {
|
|
monitor =
|
|
text = cmd[update:1000] echo "$(date +"%H:%M")"
|
|
color = rgba(220, 215, 186, 1.0) # Kanagawa fg
|
|
font_size = 120
|
|
font_family = JetBrainsMono Nerd Font Bold
|
|
position = 0, 200
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# Date
|
|
label {
|
|
monitor =
|
|
text = cmd[update:60000] echo "$(date +"%A, %B %d")"
|
|
color = rgba(200, 192, 147, 0.9) # Kanagawa fg-dim
|
|
font_size = 22
|
|
font_family = JetBrainsMono Nerd Font
|
|
position = 0, 90
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# User
|
|
label {
|
|
monitor =
|
|
text = $USER
|
|
color = rgba(126, 156, 216, 1.0) # Kanagawa blue
|
|
font_size = 16
|
|
font_family = JetBrainsMono Nerd Font
|
|
position = 0, -60
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
# Password input
|
|
input-field {
|
|
monitor =
|
|
size = 320, 56
|
|
outline_thickness = 2
|
|
dots_size = 0.30
|
|
dots_spacing = 0.30
|
|
dots_center = true
|
|
outer_color = rgba(126, 156, 216, 0.9) # blue border
|
|
inner_color = rgba(31, 31, 40, 0.55) # bg w/ alpha
|
|
font_color = rgba(220, 215, 186, 1.0)
|
|
fade_on_empty = false
|
|
placeholder_text = <i>password</i>
|
|
hide_input = false
|
|
rounding = 12
|
|
check_color = rgba(152, 187, 108, 1.0) # green on success
|
|
fail_color = rgba(232, 36, 36, 1.0) # red on fail
|
|
fail_text = <i>$FAIL ($ATTEMPTS)</i>
|
|
capslock_color = rgba(255, 160, 102, 1.0)
|
|
position = 0, -120
|
|
halign = center
|
|
valign = center
|
|
}
|