Krolyxon
Commit b4750e5

Branches

Refs →

aurora.confighyprhyprlock.conf

149 lines · 4.1 KB · nginx

1# hyprlock in aurora's Nothing look, after glyph-rice's lock screen: the wallpaper as aurora draws it, a huge Doto clock
2# (the colon blinks), the date and weather / what's playing in spaced caps, battery top right; at the bottom your face in
3# a ring of dots, your name and the password pill: typed characters are dots, empty = the live caret and six unlit dots.
4# Colours / fonts / clock settings: matugen's output first as a fallback, then aurora's resolved palette
5# (~/.config/aurora/hyprlock-colors.conf, written by aurora's Theme.qml; `$xHex` = for Pango markup).
6# Pictures: ~/.cache/aurora/lock-wall.png + lock-face.png (aurora's LockArt.qml). Live labels: ~/.local/bin/hypr/lockinfo.
7# Positions = the centres of glyph's 1920x1080 layout (y up from the middle); sizes in pt = px * 3/4.
8$dot = Doto Black
9$ui = Space Grotesk
10$mono = Space Mono
11$fgHex = ##e0e0e0
12$s3Hex = ##404040
13$greyHex = ##909090
14$liveHex = ##e0d080
15$errHex = ##ffb4ab
16$hourFmt = %H
17$blink = 1
18$batLow = 15
19source = $HOME/.cache/matugen/hyprlock.conf
20source = $HOME/.config/aurora/hyprlock-colors.conf
21
22general {
23 hide_cursor = true
24 ignore_empty_input = true
25 fail_timeout = 2500
26}
27
28# glyph's timing: everything comes in over 1.1s with aurora's glide, leaves in 0.45s, typed dots pop in 180ms
29animations {
30 enabled = true
31 bezier = glide, 0.25, 1, 0.5, 1
32 animation = fadeIn, 1, 11, glide
33 animation = fadeOut, 1, 4.5, glide
34 animation = inputFieldDots, 1, 1.8, glide
35 animation = inputFieldColors, 1, 3, glide
36 animation = inputFieldWidth, 1, 3, glide
37}
38
39background {
40 monitor =
41 path = ~/.cache/aurora/lock-wall.png
42 color = $bg
43}
44
45# -- date · clock · weather and music --
46label {
47 monitor =
48 text = cmd[update:60000] echo "<span size='10.5pt' letter_spacing='1505' text_transform='uppercase'>$(date '+%A · %-d %B')</span>"
49 color = $fg
50 font_size = 10
51 font_family = $mono
52 position = 0, 360
53 halign = center
54 valign = center
55}
56
57label {
58 monitor =
59 # Doto 400px; round dots need the variation axes in the markup
60 text = cmd[update:500] ~/.local/bin/hypr/lockinfo clock '$hourFmt' $blink 'Doto 300 @ROND=100,wght=900'
61 color = $fg
62 font_size = 300
63 font_family = $dot
64 position = 0, 140
65 halign = center
66 valign = center
67}
68
69label {
70 monitor =
71 text = cmd[update:15000] ~/.local/bin/hypr/lockinfo info
72 color = $grey
73 font_size = 9
74 font_family = $mono
75 position = 0, -69
76 halign = center
77 valign = center
78}
79
80# -- battery, top right --
81label {
82 monitor =
83 text = cmd[update:30000] ~/.local/bin/hypr/lockinfo battery $batLow '$errHex' '$fgHex'
84 color = $grey
85 font_size = 9
86 font_family = $mono
87 position = -44, -36
88 halign = right
89 valign = top
90}
91
92# -- you --
93image {
94 monitor =
95 path = ~/.cache/aurora/lock-face.png
96 size = 104
97 rounding = 0
98 border_size = 0
99 position = 0, -220
100 halign = center
101 valign = center
102}
103
104label {
105 monitor =
106 text = <span size='16.5pt'>$USER</span>
107 color = $fg
108 font_size = 16
109 font_family = $ui
110 position = 0, -298
111 halign = center
112 valign = center
113}
114
115# -- password: dots in a pill; empty = the live caret and six unlit dots --
116input-field {
117 monitor =
118 size = 380, 58
119 rounding = -1
120 outline_thickness = 1
121 outer_color = $s3
122 inner_color = $s1
123 font_color = $fg
124 font_family = $mono
125 check_color = $grey
126 fail_color = $err
127 capslock_color = $live
128 dots_size = 0.19
129 dots_spacing = 1
130 dots_rounding = -1
131 dots_center = true
132 fade_on_empty = false
133 placeholder_text = <span foreground='$liveHex'>│</span> <span foreground='$s3Hex' size='20.5pt' letter_spacing='8400'>●●●●●●</span>
134 fail_text = <span foreground='$errHex' size='9pt' letter_spacing='1290' text_transform='uppercase'>wrong password · try again</span>
135 position = 0, -357
136 halign = center
137 valign = center
138}
139
140label {
141 monitor =
142 text = <span letter_spacing='1290' text_transform='uppercase'>enter password</span>
143 color = $grey
144 font_size = 9
145 font_family = $mono
146 position = 0, -411
147 halign = center
148 valign = center
149}