Files
dotfiles/hypr/hyprlock.conf
2026-02-25 02:41:26 +01:00

146 lines
2.7 KiB
Plaintext

$color = rgba(#1e1e2e, 1.0)
$inner_color = rgba(#1e1e2e, 0.8)
$outer_color = rgba(#cdd6f4, 1.0)
$font_color = rgba(#cdd6f4, 1.0)
$check_color = rgba(#380000, 1.0)
general {
ignore_empty_input = true
no_fade_in = true
no_fade_out = true
hide_cursor = false
grace = 0
disable_loading_bar = false
}
background {
monitor =
color = $color
path = ~/Pictures/Wallpapers/current
blur_passes = 3
}
animations {
enabled = true
}
# DATE
label {
monitor =
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
color = rgba(242, 243, 244, 0.75)
font_size = 16
font_family = Lexend Light
position = 0, 300
halign = center
valign = center
}
# TIME
label {
monitor =
text = cmd[update:1000] echo "$(date +"%H:%M")"
color = rgba(242, 243, 244, 0.75)
font_size = 150
font_family = Lexend Extrabold
position = 0, 200
halign = center
valign = center
}
# NETWORK
label {
monitor =
text = cmd[update:2000] ~/.config/hypr/scripts/net-status.sh
color = rgba(242, 243, 244, 0.8)
font_size = 14
font_family = Lexend
position = 100, 100
halign = bottom
valign = left
}
# BATTERY
label {
monitor =
text = cmd[update:1000] echo "$(~/.config/hypr/scripts/battery.sh)"
font_family = lexend
font_size = 14
position = -100, 100
halign = right
valign = bottom
}
# WEATHER
label {
monitor =
text = cmd[update:600000] echo "$(~/.config/hypr/scripts/weather.sh | jq -r .text)"
font_family = lexend
font_size = 14
position = -200, 100
halign = right
valign = bottom
}
# NOW PLAYING
image {
monitor =
path = ~/.cache/nowplaying-cover.jpg
size = 300
rounding = 20
position = 0, -150
halign = center
valign = center
border_size = 0
reload_time = 1
}
label {
monitor =
text = cmd[update:1000] playerctl metadata title || jq -r '.[0].q' ~/.cache/quote.json
color = rgba(242, 243, 244, 0.8)
font_size = 14
font_family = Lexend
position = 0, -320
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] playerctl metadata artist || jq -r '.[0].a' ~/.cache/quote.json
color = rgba(242, 243, 244, 0.8)
font_size = 14
font_family = Lexend Bold
position = 0, -345
halign = center
valign = center
}
input-field {
monitor =
size = 300, 50
position = 0, 100
halign = center
valign = bottom
inner_color = rgba(242, 243, 244, 0.8)
outer_color = $outer_color
outline_thickness = 4
font_family = Lexend
font_color = $font_color
placeholder_text = Enter Password
check_color = $check_color
fail_text = $FAIL
rounding = 10
shadow_passes = 0
fade_on_empty = true
}
auth {
fingerprint:enabled = true
}