aboutsummaryrefslogtreecommitdiff
path: root/hypr/hyprlock.conf
blob: 6774f93180936b96ad377f7e36b4a56ac56fcf6e (plain)
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# BACKGROUND

general {
	hide_cursor = true
}

background {
    monitor =
    path = ~/Pictures/wallhaven-y8v7zx_1920x1080_overlay.png
    # blur_passes = 2
    contrast = 0.8916
    brightness = 0.8172
    vibrancy = 0.1696
    vibrancy_darkness = 0.5

}

input-field {
  monitor =
    size = 200, 50
    outline_thickness = 3
    dots_size = 0.23 # Scale of input-field height, 0.2 - 0.8
    dots_spacing = 0.25 # Scale of dots' absolute size, 0.0 - 1.0
    dots_center = true
    dots_rounding = 0 # -1 default circle, -2 follow input-field rounding
    color = rgba(0, 0, 0,1.0)
    outer_color = rgba(9, 9, 9,1.0)
    inner_color = rgba(235, 219, 178,1.0)
    font_color = rgba(9, 2, 2,1.0)
    fade_on_empty = true
    font_family = EnvyCodeR Nerd Font
    fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
    placeholder_text = Input Password... # Text rendered in the input box when it's empty.
    hide_input = false
    rounding = 0 # -1 means complete rounding (circle/oval)
    check_color = rgba(0, 206, 201,1.0)
    fail_color = rgba(214, 48, 49,1.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, -120
    halign = center
    valign = center

}


# TIME
label {
    monitor =
    text = cmd[update:1000] echo "$(date +"%-I:%M%p")"
    color = rgba(0, 0, 0,1.0)
    #color = rgba(255, 255, 255, 0.6)
    font_size = 120
    font_family = EnvyCodeR Nerd Font
    position = 0, 3
    halign = center
    valign = top
    shadow_passes = 5
    shadow_size = 10
    shadow_color = rgba(250, 177, 160,1.0)
    # shadow_boost = 10
}
label {
    monitor =
    text = cmd[update:1000] echo "$(date +"%-I:%M%p")"
    color = rgba(173, 244, 216,1.0)
    #color = rgba(255, 255, 255, 0.6)
    font_size = 120
    font_family = EnvyCodeR Nerd Font
    position = 0, 0
    halign = center
    valign = top
    shadow_passes = 50
    shadow_size = 10
    shadow_color = rgba(250, 177, 160,1.0)
    # shadow_boost = 10
}

# USER
label {
    monitor =
    text = $USER
    color = rgba(0, 0, 0,1.0)
    #color = rgba(255, 255, 255, 0.6)
    font_size = 50
    font_family = EnvyCodeR Nerd Font
    position = 0, -40
    halign = center
    valign = center
    shadow_passes = 2
    shadow_size = 10
    shadow_color = rgba(250, 177, 160,1.0)
}

label {
    monitor =
    text = $USER
    color = rgba(173, 244, 216,1.0)
    #color = rgba(255, 255, 255, 0.6)
    font_size = 50
    font_family = EnvyCodeR Nerd Font
    position = 0, -42
    halign = center
    valign = center
    shadow_passes = 2
    shadow_size = 10
    shadow_color = rgba(250, 177, 160,1.0)
}

# image {
#     path = ~/Pictures/wallhaven-l8vp7y_1920x1080.png
#     size = 280 # lesser side if not 1:1 ratio
#     rounding = -1 # negative values mean circle
#     border_size = 4
#     border_color = rgb(221, 221, 221)
#     rotate = 0 # degrees, counter-clockwise
#     reload_time = -1 # seconds between reloading, 0 to reload with SIGUSR2
# #    reload_cmd =  # command to get new path. if empty, old path will be used. don't run "follow" commands like tail -F
#     position = 0, 150
#     halign = center
#     valign = center
# }