⚙️ config(hypr): changing hyprlock config to be more minimalistic

This commit is contained in:
Sergio Laín 2024-03-25 20:58:13 +01:00
parent 9733cd6453
commit f732bdfd64
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -2,9 +2,13 @@ source = ./themes/luna/colors.conf
$font = JetBrains Mono Nerd Font 10 $font = JetBrains Mono Nerd Font 10
general {
hide_cursor = true
}
background { background {
monitor = monitor =
path = $HOME/.config/hypr/themes/luna/walls/neon-dim.png path = $HOME/.config/hypr/themes/luna/walls/shore.png
color = rgb($lavenderAlpha) color = rgb($lavenderAlpha)
blur_size = 4 blur_size = 4
@ -18,18 +22,24 @@ background {
input-field { input-field {
monitor = DP-1 monitor = DP-1
rounding = 20
shadow_passes = 2
size = 250, 50 size = 250, 50
outline_thickness = 3 outline_thickness = 2
dots_size = 0.2 dots_size = 0.2
dots_spacing = 0.64 dots_spacing = 0.64
dots_center = true dots_center = true
outer_color = rgb($lavenderAlpha) outer_color = rgb($lavenderAlpha)
inner_color = rgb($baseAlpha) inner_color = rgb($baseAlpha)
font_color = rgb($textAlpha) font_color = rgb($textAlpha)
check_color = rgb($textYellow)
fail_color = rgb($textRed)
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
fail_transition = 300
fade_on_empty = true fade_on_empty = true
placeholder_text = <i>Password...</i> placeholder_text = <i>Password...</i>
hide_input = false hide_input = false
position = 0, 50 position = 0, 0
halign = center halign = center
valign = bottom valign = bottom
} }
@ -37,11 +47,12 @@ input-field {
# Current time # Current time
label { label {
monitor = DP-1 monitor = DP-1
shadow_passes = 1
text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>" text = cmd[update:1000] echo "<b><big> $(date +"%H:%M:%S") </big></b>"
color = rgb($textAlpha) color = rgb($textAlpha)
font_size = 64 font_size = 64
font_family = $font font_family = $font
position = 0, 16 position = 0, 8
halign = center halign = center
valign = center valign = center
} }
@ -50,23 +61,11 @@ label {
label { label {
monitor = DP-1 monitor = DP-1
text = Hey $USER! text = Hey $USER!
shadow_passes = 1
color = rgb($textAlpha) color = rgb($textAlpha)
font_size = 20 font_size = 20
font_family = $font font_family = $font
position = 0, 0 position = 0, -8
halign = center halign = center
valign = center valign = center
} }
# Type to unlock
label {
monitor = DP-1
text = Type to unlock!
color = rgb($textAlpha)
font_size = 16
font_family = $font
position = 0, 30
halign = center
valign = bottom
}