summaryrefslogtreecommitdiff
path: root/dot-config/hypr/hyprlock.conf
blob: 6137035a4f0fd94a770110a8b1a0417e8545fffd (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
129
130
131
132
133
source = ~/.config/hypr/bg.conf

general {
    immediate_render = true
    hide_cursor = true
}

background {
    monitor =
    path = $bg
   # only png supported for now
    # color = rgba(25, 20, 20, 1.0)
    color = rgba(0,0,0,0)

    # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
    blur_passes = 5 # 0 disables blurring
    blur_size = 5
    # noise = 0
    # contrast = 0
    # brightness = 0
    # vibrancy = 0
    # vibrancy_darkness = 0.0
    # update: 1800000: true
}

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 = true # change color if numlock is off
    swap_font_color = false # see below
    position = 0, -468
    halign = center
    valign = center
}

# label {
#   monitor = 
#   text = $TIME12
#   color = rgba(242, 243, 244, 0.75)
#   font_size = 14
#   font_family = SF Pro Text
#   position = 20, 1024
#   halign = left
#   valign = center
#}

label {
  monitor = 
  text = cmd[update:1000] echo "$(~/scripts/song-status)"
  color = rgba(242, 243, 244, 0.75)
  font_size = 14
  font_family = SF Pro Text
  position = 20, 1024
  halign = left
  valign = center
}

label {
  monitor =
  text = cmd[update:1000] echo "$(~/scripts/network-status)"
  color = rgba(242, 243, 244, 0.75)
  font_size = 16
  font_family = Symbols Nerd Font
  position = -35, 1024
  halign = right
  valign = center
}

# label {
#   monitor =
#   # text = cmd[update:1000] echo "$(~/scripts/layout-status)"
#   text = $LAYOUT[en,zh]
#   color = rgba(242, 243, 244, 0.75)
#   font_size = 15
#   font_family = SF Pro Text
#   position = -150, 1024
#   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 +"%I:%M")"
  # text = cmd[update:1000] enable strftime; strftime '%I:%M' $EPOCHSECONDS
  text = $TIME12
  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 = Password:
    color = rgba(242, 243, 244, 0.75)
    font_size = 10
    font_family = SF Pro Display
    position = 0, -438
    halign = center
    valign = center
}