new hyprlock style

This commit is contained in:
Joel Mathew Thomas
2024-11-20 16:42:24 +05:30
parent d704479f3c
commit 997c8b0b38
2 changed files with 60 additions and 56 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 520 KiB

+60 -56
View File
@@ -1,75 +1,79 @@
# _ _ _
# | |__ _ _ _ __ _ __| | ___ ___| | __
# | '_ \| | | | '_ \| '__| |/ _ \ / __| |/ /
# | | | | |_| | |_) | | | | (_) | (__| <
# |_| |_|\__, | .__/|_| |_|\___/ \___|_|\_\
# |___/|_|
# BACKGROUND
background {
monitor =
path = $HOME/.config/.wallpaper/lock.png # only png supported for now
blur_passes = 2 # 0 disables blurring
blur_size = 2
noise = 0
contrast = 0.8916
brightness = 0.8172
vibrancy = 0.1696
vibrancy_darkness = 0.0
path = $HOME/.config/.wallpaper/lock.png
blur_passes = 2
contrast = 1
brightness = 0.5
vibrancy = 0.2
vibrancy_darkness = 0.2
}
# GENERAL
general {
no_fade_in = false
no_fade_out = false
hide_cursor = true
grace = 0
disable_loading_bar = true
ignore_empty_input = true
}
# INPUT FIELD
input-field {
monitor =
size = 200, 50
outline_thickness = 3
size = 250, 60
outline_thickness = 2
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_spacing = 0.35 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
outer_color = rgb(151515)
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true
fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
placeholder_text = <i>Access Denied</i> # Text rendered in the input box when it's empty.
hide_input = false
rounding = -1 # -1 means complete rounding (circle/oval)
outer_color = rgba(0, 0, 0, 0)
inner_color = rgba(0, 0, 0, 0.2)
fade_on_empty = false
rounding = -1
check_color = rgb(204, 136, 34)
fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty
fail_transition = 300 # transition time in ms between normal outer_color and fail_color
capslock_color = -1
numlock_color = -1
bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
invert_numlock = false # change color if numlock is off
swap_font_color = false # see below
position = 0, 10
halign = center
valign = bottom
}
label {
monitor =
text = cmd[update:1000] date +"%I:%M %p"
color = rgb(255, 255, 255)
font_size = 35
font_family = Fira Semibold
position = 0, -70
placeholder_text = <i><span foreground="##cdd6f4">Input Password...</span></i>
hide_input = false
position = 0, -200
halign = center
valign = center
shadow_passes = 5
shadow_size = 10
}
# DATE
label {
monitor =
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
color = rgba(242, 243, 244, 0.75)
font_size = 22
font_family = JetBrains Mono
position = 0, 300
halign = center
valign = center
}
# TIME
label {
monitor =
text = cmd[update:1000] echo "$(date +"%-I:%M")"
color = rgba(242, 243, 244, 0.75)
font_size = 95
font_family = JetBrains Mono Extrabold
position = 0, 200
halign = center
valign = center
}
# Profile Picture
image {
monitor =
text = cmd[update:1000] echo "Hi, $(echo $USER | awk '{print toupper(substr($0,1,1)) tolower(substr($0,2))}')"
font_size = 55
color = rgb(255, 255, 255)
font_family = Fira Semibold
position = 0, 30
path = ~/.config/.wallpaper/profile.png
size = 200
border_size = 2
border_color = $foreground
position = 0, 0
halign = center
valign = center
shadow_passes = 5
shadow_size = 10
}