feat: add date and time to hyprlock

This commit is contained in:
Seymur Bagirov 2024-02-22 16:03:23 +04:00
parent 636cbb0ad3
commit 45e08b2358

View File

@ -33,7 +33,7 @@ input-field {
label { label {
monitor = monitor =
text = Hi there, $USER text = Hi there, $USER
color = rgba(200, 200, 200, 1.0) color = rgba(20, 19, 21, 1)
font_size = 25 font_size = 25
font_family = Noto Sans font_family = Noto Sans
@ -42,3 +42,28 @@ label {
valign = center valign = center
} }
label {
monitor =
text = $TIME
color = rgba(20, 19, 21, 1)
font_size = 50
font_family = Noto Sans
position = 0, 300
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "<span>$(date +"%A, %d %B")</span>"
color = rgba(20, 19, 21, 1)
font_size = 40
font_family = Noto Sans
position = 0, 350
halign = center
valign = center
}