69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
# vim: set ft=config:
|
|
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
|
|
|
|
# General settings
|
|
general {
|
|
grace = 5
|
|
hide_cursor = true
|
|
}
|
|
|
|
# The password input field
|
|
input-field {
|
|
monitor =
|
|
fade_on_empty = true
|
|
rounding = 8
|
|
outer_color = rgba(50,48,47,0.8)
|
|
inner_color = rgba(50,48,47,0.8)
|
|
font_color = rgb(235,219,178)
|
|
check_color = rgb(250,189,47)
|
|
fail_color = rgb(251,73,52)
|
|
size = 400, 50
|
|
position = 0, -200
|
|
}
|
|
|
|
# The background of the login box
|
|
shape {
|
|
color = rgba(40,40,40,0.8)
|
|
size = 600, 800
|
|
position = 0, 0
|
|
rounding = 8
|
|
}
|
|
|
|
# A label showing the current time
|
|
label {
|
|
text = cmd[update:30] echo ""$(date +"%I:%M %p")""
|
|
font_size = 48
|
|
color = rgb(235,219,178)
|
|
position = 0, 250
|
|
halign = center
|
|
valign = center
|
|
}
|
|
# A label showing the current date
|
|
label {
|
|
text = cmd[update:18000000] echo ""$(date +'%A, %-d %B %Y')""
|
|
color = rgb(235,219,178)
|
|
position = 0, 150
|
|
halign = center
|
|
valign = center
|
|
}
|
|
# The background of the lock screen, behind the box
|
|
background {
|
|
color = rgba(0,0,0,0.8)
|
|
}
|
|
# The current user's face
|
|
image {
|
|
path = ~/.face
|
|
border_color = rgba(50,48,47,0.8)
|
|
size = 150
|
|
position = 0, 0
|
|
}
|
|
# Name of the current user
|
|
label {
|
|
text = $USER
|
|
color = rgba(235,219,178,0.5)
|
|
font_size = 14
|
|
position = 0, -100
|
|
halign = center
|
|
valign = center
|
|
}
|