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