updated hyprlock

This commit is contained in:
wt committed 2026-08-12 16:52:22 +07:00
1 parent 7eb645ed10
commit 27876ccbec
3 files changed
+243 -237

No files matched your search

+156
View File
@@ -0,0 +1,156 @@
general {
immediate_render = true
}
background {
monitor =
path = /home/tola/Pictures/wallpaper/neon_office.jpg
color = rgba(25, 20, 20, 1.0)
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
blur_passes = 0 # 0 disables blurring
blur_size = 2
noise = 0
contrast = 0
brightness = 0
vibrancy = 0
vibrancy_darkness = 0.0
}
animations {
animation = fade, 1, 6, default
animation = fadeIn, 1, 6, default
animation = fadeOut, 1, 6, default
}
input-field {
monitor =
size = 300, 30
outline_thickness = 0
dots_size = 0.25 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.55 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
dots_rounding = -1
outer_color = rgba(242, 243, 244, 0)
inner_color = rgba(242, 243, 244, 0)
font_color = rgba(242, 243, 244, 0.75)
fade_on_empty = false
placeholder_text = # Text rendered in the input box when it's empty.
hide_input = false
check_color = rgba(204, 136, 34, 0)
fail_color = rgba(204, 34, 34, 0) # if authentication failed, changes outer_color and fail message color
fail_text = $FAIL <b>($ATTEMPTS)</b> # can be set to empty
fail_transition = 300 # transition time in ms between normal outer_color and fail_color
capslock_color = -1
numlock_color = -1
bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
invert_numlock = false # change color if numlock is off
swap_font_color = false # see below
position = 0, -468
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/hyprlock/song-status)"
color = rgba(242, 243, 244, 0.75)
font_size = 14
font_family = SF Pro Text
position = 20, 700
halign = left
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/hyprlock/network-status)‎"
color = rgba(242, 243, 244, 0.75)
font_size = 16
font_family = SF Pro Text
position = -35, 700
halign = right
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/hyprlock/battery-status)‎"
color = rgba(242, 243, 244, 0.75)
font_size = 19
font_family = SF Pro Text
position = -93, 700
halign = right
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/hyprlock/layout-status)‎"
color = rgba(242, 243, 244, 0.75)
font_size = 15
font_family = SF Pro Text
position = -150, 700
halign = right
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "$(date +"%A, %B %d")"
color = rgba(242, 243, 244, 0.75)
font_size = 20
font_family = SF Pro Display Bold
position = 0, 405
halign = center
valign = center
}
label {
monitor =
text = cmd[update:1000] echo "$(date +"%k:%M")"
color = rgba(242, 243, 244, 0.75)
font_size = 93
font_family = SF Pro Display Bold
position = 0, 310
halign = center
valign = center
}
label {
monitor =
text = WT
color = rgba(242, 243, 244, 0.75)
font_size = 12
font_family = SF Pro Display Bold
position = 0, -407
halign = center
valign = center
}
label {
monitor =
text = Touch ID or Enter Password
color = rgba(242, 243, 244, 0.75)
font_size = 10
font_family = SF Pro Display
position = 0, -438
halign = center
valign = center
}
image {
monitor =
path = ~/dotfiles/hypr/pictures/user.jpeg
border_color = 0xffdddddd
border_size = 0
size = 73
rounding = -1
rotate = 0
reload_time = -1
reload_cmd =
position = 0, -353
halign = center
valign = center
}