aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/hyprlock.conf
blob: 70d02fd147664e71670ff712cd5fcfa83f0f6cc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
general {
    disable_loading_bar = false
    hide_cursor = true
    grace = 2
    no_fade_in = false
}

background {
    path = screenshot
    color = rgba(0, 0, 0, 0.5)

    # Blur
    blur_passes = 2 # 0 disables blurring
    blur_size = 8
    noise = 1.17e-2
    contrast = 0.8916
    brightness = 0.8172
    vibrancy = 0.1696
    vibrancy_darkness = 0.0
}

input-field {
    size = 300, 50
    outline_thickness = 2
    dots_size = 0.33
    dots_spacing = 0.15
    dots_center = true
    dots_rounding = -2 # -1 default circle, -2 follow input-field rounding
    outer_color = rgba(152, 151, 26, 1)
    inner_color = rgba(0, 0, 0, 1)
    font_color = rgb(99, 149, 100)
    fade_on_empty = true
    fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
    placeholder_text = <span foreground="##aabbcc" style="italic">Input Password...</span>
    hide_input = false
    rounding = 10 # -1 means complete rounding (circle/oval)
    check_color = rgb(204, 136, 34)
    fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color
    fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # 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
    position = 0, -90
    halign = center
    valign = center
    shadow_passes = 2
    shadow_size = 3
    shadow_color = rgb(0,0,0)
    shadow_boost = 1.2
}

label {
    text = <b>$TIME</b>
    color = rgb(255, 255, 255)
    font_size = 96
    font_family = GoMono Nerd Font
    position = 0, -50
    halign = center
    valign = top
    shadow_passes = 2
    shadow_size = 3
    shadow_color = rgb(0,0,0)
    shadow_boost = 1.2
}

label {
    text = cmd[update:1000] sh ~/.config/eww/scripts/date-time.sh
    color = rgb(152, 151, 26)
    font_size = 24
    font_family = GoMono Nerd Font
    position = 0, -190
    halign = center
    valign = top
    shadow_passes = 2
    shadow_size = 1
    shadow_color = rgb(0,0,0)
    shadow_boost = 1.2
}

label {
    text = Hi there, <i>$USER</i>!
    color = rgb(104, 157, 106)
    font_size = 32
    font_family = GoMono Nerd Font
    position = 0, 0
    halign = center
    valign = center
    shadow_passes = 2
    shadow_size = 1
    shadow_color = rgb(0,0,0)
    shadow_boost = 1.2
}

label {
    text =  Hyprland session locked
    color = rgb(22, 225, 181)
    font_family = GoMono Nerd Font
    font_size = 24
    position = 0, 0
    halign = center
    valign = bottom
    shadow_passes = 2
    shadow_size = 1
    shadow_color = rgb(0,0,0)
    shadow_boost = 1.2
}