71 lines
1.6 KiB
Plaintext
71 lines
1.6 KiB
Plaintext
auth {
|
|
fingerprint {
|
|
enabled = true
|
|
}
|
|
}
|
|
|
|
background {
|
|
# path = screenshot
|
|
color = rgb(000000)
|
|
}
|
|
|
|
input-field {
|
|
size = 200, 30
|
|
outline_thickness = 1
|
|
rounding = 10
|
|
outer_color = rgb(665c54)
|
|
inner_color = rgb(3c3836)
|
|
font_color = rgb(ebdbb2)
|
|
check_color = rgb(d79921)
|
|
fail_color = rgb(cc241d)
|
|
fade_on_empty = false
|
|
placeholder_text = password
|
|
fail_text =
|
|
}
|
|
|
|
label {
|
|
text = cmd[update:500]date +"%FT%H:%M:%S"
|
|
color = rgb(ebdbb2)
|
|
font_size = 45
|
|
font_family = monospace
|
|
|
|
position = 0, 60
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
label {
|
|
text = cmd[update:3000]pidof spotify > /dev/null && echo "<span foreground='##b8bb26' size='25000' rise='-4.5pt'> </span>$(playerctl -p spotify metadata xesam:title) - $(playerctl -p spotify metadata xesam:artist)"
|
|
color = rgb(ebdbb2)
|
|
font_size = 14
|
|
font_family = JetBrains Mono Nerd Font Mono Semibold
|
|
|
|
position = 0, -420
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
label {
|
|
text = cmd[update:60] uptime -p
|
|
color = rgb(ebdbb2)
|
|
offont_size = 10
|
|
font_family = monospace
|
|
|
|
position = 0, -450
|
|
halign = center
|
|
valign = center
|
|
}
|
|
|
|
listener {
|
|
timeout = 300 # 5 minutes
|
|
on-timeout = sleep 60 && busctl --user call org.freedesktop.secrets /org/freedesktop/secrets org.freedesktop.Secret.Service Lock "as" 1 "/org/freedesktop/secrets/aliases/default" && hyprlock
|
|
}
|
|
|
|
listener {
|
|
timeout = 330 # 5.5 minutes
|
|
on-timeout = hyprctl dispatch dpms off # screen off
|
|
on-resume = hyprctl dispatch dpms on # screen on
|
|
}
|
|
|
|
# vim:ft=hyprlang
|