feat(hyprlock): update

This commit is contained in:
2026-02-25 01:35:25 +01:00
parent 566513de78
commit 74dda82f24
10 changed files with 115 additions and 24 deletions

View File

@@ -51,7 +51,7 @@ label {
# BATTERY
label {
monitor =
text = cmd[update:1000] echo "$(~/.config/waybar/scripts/battery.sh)"
text = cmd[update:1000] echo "$(~/.config/hypr/scripts/battery.sh)"
font_family = lexend
font_size = 14
position = -100, 100
@@ -59,9 +59,10 @@ label {
valign = bottom
}
# WEATHER
label {
monitor =
text = cmd[update:600000] echo "$(~/.config/waybar/scripts/weather.sh | jq -r .text)"
text = cmd[update:600000] echo "$(~/.config/hypr/scripts/weather.sh | jq -r .text)"
font_family = lexend
font_size = 14
position = -200, 100
@@ -69,6 +70,41 @@ label {
valign = bottom
}
# NOW PLAYING
image {
monitor =
path = ~/.cache/nowplaying-cover.jpg
size = 250
rounding = 20
position = 0, -120
halign = center
valign = center
border_size = 0
reload_time = 1
}
label {
monitor =
text = cmd[update:1000] playerctl metadata artist
color = rgba(242, 243, 244, 0.8)
font_size = 14
font_family = Lexend Bold
position = 0, -300
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] playerctl metadata title
color = rgba(242, 243, 244, 0.8)
font_size = 14
font_family = Lexend
position = 0, -270
halign = center
valign = center
}
input-field {
monitor =
size = 300, 50
@@ -88,7 +124,7 @@ input-field {
check_color = $check_color
fail_text = <i>$FAIL ($ATTEMPTS)</i>
rounding = 60
rounding = 15
shadow_passes = 0
fade_on_empty = false
}