hyprlock: update style

This commit is contained in:
Nico 2026-02-15 18:25:51 +11:00
parent 4c93f2b4e5
commit e0003effa1
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0

View file

@ -1,115 +1,71 @@
general { general {
hide_cursor = true grace = 7
grace = 5
ignore_empty_input = true
enable_fingerprint = true
fractional_scaling = 2
} }
background { background {
path = {{image}} monitor =
blur_passes = 3 path = {{image}}
blur_size 15 color = {{colors.primary.default.rgba}}
noise = 0.1 blur_passes = 1 # 0 disables blurring
blur_size = 3
# contrast = 0.8916
# brightness = 0.8172
} }
# label {
# Login monitor =
# text = cmd[update:10000] date '+%I'
font_family = {{font}}
font_size = 256
color = {{colors.primary.default.rgba}}
position = 0, 256
halign = center
valign = center
}
label {
monitor =
text = cmd[update:10000] date '+%M'
font_family = {{font}}
font_size = 256
color = {{colors.secondary.default.rgba}}
position = 0, 0
halign = center
valign = center
}
shape {
size = 500, 700
position = 0, 100
rounding = 50
color = {{colors.background.default.rgba}}
halign = center
valign = center
}
input-field { input-field {
monitor = monitor =
size = 20%, 5% font_family = Comic Neue
size = 100, 100
outline_thickness = 3 outline_thickness = 3
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_rounding = 0;
dots_center = true
outer_color = {{colors.primary_container.default.rgba}}
inner_color = {{colors.background.default.rgba}} inner_color = {{colors.background.default.rgba}}
font_color = {{colors.on_primary_container.default.rgba}}
fail_color = {{colors.error.default.rgba}}
check_color = {{colors.secondary_container.default.rgba}}
fail_color = {{colors.error_container.default.rgba}}
font_color = {{colors.primary.default.rgba}}
font_family = {{ font }}
placeholder_text = Enter password
size = 48
fade_on_empty = false fade_on_empty = false
rounding = {{ rounding }} placeholder_text = 🔒
hide_input = false
rounding = -1
position = 0, 100
halign = center halign = center
valign = center valign = bottom
position = 0, 0 }
}
label {
font_family = {{ font }}
color = {{colors.primary.default.rgba}}
font_size = 24
text =  Hello
valign = center
halign = center
position = -6%, 5%
}
shape {
color = {{colors.background.default.rgba}}
rounding = {{ rounding }}
monitor =
size = 150, 60
position = -6%, 5%
halign = center
valign = center
}
#
# Sidebar
#
label {
color = {{colors.primary.default.rgba}}
font_family = {{ font }}
font_size = 17
rotate = 270
text = cmd[update:60]echo 󰎇 $(head -c 30 <<< $(playerctl metadata title))
monitor =
size = 20, 40
position = -23, -20
halign = right
valign = top
}
shape {
color = {{colors.background.default.rgba}}
rounding = {{ rounding }}
monitor =
size = 50, 410
position = -10, -5
halign = right
valign = top
}
# Clock
label {
color = {{colors.primary.default.rgba}}
font_family = {{ font }}
font_size = 17
text = cmd[update:60]echo -e " \n$(date '+%I\n%M')"
monitor =
size = 20, 40
position = -23, 20
halign = right
valign = bottom
}
shape {
color = {{colors.background.default.rgba}}
rounding = {{ rounding }}
monitor =
size = 50, 110
position = -10, 5
halign = right
valign = bottom
}