home-config/hypr/hyprlock.conf
86245d770858cd4795123269b128d9b8399cd80e
· 2.0 KB · 57 lines
raw
| 1 | background { |
| 2 | monitor = |
| 3 | #path = /home/ryan/.config/hypr/Wallpapers/static/autumn1.png |
| 4 | path = screenshot |
| 5 | |
| 6 | # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations |
| 7 | blur_passes = 2 # 0 disables blurring |
| 8 | blur_size = 7 |
| 9 | noise = 0.2 |
| 10 | contrast = 0.8916 |
| 11 | brightness = 0.8172 |
| 12 | vibrancy = 0.1696 |
| 13 | vibrancy_darkness = 0.0 |
| 14 | } |
| 15 | |
| 16 | input-field { |
| 17 | monitor = |
| 18 | size = 200, 50 |
| 19 | outline_thickness = 3 |
| 20 | dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 |
| 21 | dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 |
| 22 | dots_center = false |
| 23 | dots_rounding = -1 # -1 default circle, -2 follow input-field rounding |
| 24 | outer_color = rgb(151515) |
| 25 | inner_color = rgb(200, 200, 200) |
| 26 | font_color = rgb(10, 10, 10) |
| 27 | fade_on_empty = true |
| 28 | fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered. |
| 29 | placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty. |
| 30 | hide_input = false |
| 31 | rounding = -1 # -1 means complete rounding (circle/oval) |
| 32 | check_color = rgb(204, 136, 34) |
| 33 | fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color |
| 34 | fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty |
| 35 | fail_timeout = 2000 # milliseconds before fail_text and fail_color disappears |
| 36 | fail_transition = 300 # transition time in ms between normal outer_color and fail_color |
| 37 | capslock_color = -1 |
| 38 | numlock_color = -1 |
| 39 | bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) |
| 40 | invert_numlock = false # change color if numlock is off |
| 41 | swap_font_color = false # see below |
| 42 | |
| 43 | position = 0, -20 |
| 44 | halign = center |
| 45 | valign = center |
| 46 | } |
| 47 | |
| 48 | label { |
| 49 | monitor = |
| 50 | text = cmd[update:1000] echo "$(date +"%-H:%M:%S")" |
| 51 | #color = rgba(255, 255, 255, 0.6) |
| 52 | font_size = 80 |
| 53 | position = 0, 300 |
| 54 | halign = center |
| 55 | valign = center |
| 56 | font_family = Lilex Nerd Font |
| 57 | } |