fix: missing icon in hyprlock

This commit is contained in:
2026-02-03 09:37:04 +01:00
parent dce89a0380
commit 3837b42437
3 changed files with 34 additions and 22 deletions
+9 -8
View File
@@ -8,17 +8,18 @@ $entry_border_color = rgba(3B3B3B64)
$entry_color = rgba(FFFFFFFF)
$font_family = Noto Sans
$font_family_clock = Font Awesome 6 Free
$font_material_symbols = Material Symbols Rounded
$font_family_nerd = Symbols Nerd Font
$background = ~/Pictures/backgrounds/miku-space.jpg
# workaround: https://github.com/hyprwm/hyprlock/issues/825
animation = fade, 0
# another wierd bug that only happens in hybrid mode :/
animation {
animation = fade, 0
}
background {
# color = rgba(041011FF)
# color = rgba(000000FF)
# path = {{ SWWW_WALL }}
path = ~/Pictures/backgrounds/miku-space.jpg
path = $background
# blur_size = 5
# blur_passes = 4
}
@@ -68,12 +69,12 @@ label { # Greeting
}
label { # lock icon
monitor =
text = lock
text = 󰌾
shadow_passes = 1
shadow_boost = 0.5
color = $text_color
font_size = 21
font_family = $font_material_symbols
font_family = $font_family_nerd
position = 100, 100
halign = left
@@ -88,7 +89,7 @@ label { # "locked" text
font_size = 14
font_family = $font_family
position = 140, 105
position = 140, 100
halign = left
valign = bottom
}