Rice hyprlock

This commit is contained in:
Salt 2024-10-18 17:44:07 -05:00
parent c534f35bce
commit 45b93322df

View File

@ -1,11 +1,68 @@
# vim: set ft=config: # vim: set ft=config:
# for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock # for more configuration options, refer https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
input-field { # General settings
monitor = general {
fade_on_empty = false grace = 5
hide_cursor = true
} }
background { # The password input field
color = rgb(0,0,0) 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
} }