Krolyxon
Commit b101de2

Branches

Refs →

aurora.confighyprhyprlock.conf

103 lines · 2.6 KB · nginx

1# hyprlock in aurora's Nothing look (after glyph-rice's lock screen): a huge Doto clock, the date in spaced caps,
2# your name, the password as round dots in a pill, status in Space Mono at the bottom corners.
3# Colours / fonts: matugen's output first as a fallback, then aurora's resolved palette
4# (~/.config/aurora/hyprlock-colors.conf, written by aurora's Theme.qml).
5$dot = Doto Black
6$ui = Space Grotesk
7$mono = Space Mono
8source = $HOME/.cache/matugen/hyprlock.conf
9source = $HOME/.config/aurora/hyprlock-colors.conf
10
11general {
12 hide_cursor = true
13 ignore_empty_input = true
14}
15
16background {
17 monitor =
18 color = $bg
19}
20
21# -- time / date --
22label {
23 monitor =
24 # round dots: Pango takes the variation axes after the size, so they go in the markup, not font_family
25 text = cmd[update:1000] echo "<span font_desc='Doto 190 @ROND=100,wght=900'>$(date +%H:%M)</span>"
26 color = $fg
27 font_size = 190
28 font_family = $dot
29 position = 0, 210
30 halign = center
31 valign = center
32}
33
34label {
35 monitor =
36 text = cmd[update:60000] echo "<span letter_spacing='3000'>$(date '+%A · %d %B · week %V' | tr a-z A-Z)</span>"
37 color = $grey
38 font_size = 12
39 font_family = $mono
40 position = 0, 40
41 halign = center
42 valign = center
43}
44
45# -- who --
46label {
47 monitor =
48 text = cmd[update:0] echo "$USER"
49 color = $fg
50 font_size = 22
51 font_family = $ui
52 position = 0, -80
53 halign = center
54 valign = center
55}
56
57# -- password: round dots in a pill --
58input-field {
59 monitor =
60 size = 360, 58
61 rounding = -1
62 outline_thickness = 1
63 outer_color = $s3
64 inner_color = $s2
65 font_color = $fg
66 font_family = $mono
67 check_color = $fill
68 fail_color = $err
69 capslock_color = $live
70 dots_size = 0.24
71 dots_spacing = 0.55
72 dots_rounding = -1
73 dots_center = true
74 fade_on_empty = false
75 placeholder_text = <span letter_spacing='2000'>PASSWORD</span>
76 fail_text = <span letter_spacing='2000'>$FAIL · $ATTEMPTS</span>
77 position = 0, -150
78 halign = center
79 valign = center
80}
81
82# -- status line --
83label {
84 monitor =
85 text = cmd[update:0] echo "<span letter_spacing='2000'>$(echo "$USER@$(cat /etc/hostname)" | tr a-z A-Z)</span>"
86 color = $grey
87 font_size = 10
88 font_family = $mono
89 position = 40, 30
90 halign = left
91 valign = bottom
92}
93
94label {
95 monitor =
96 text = cmd[update:5000] echo "<span letter_spacing='2000'>$(mpc current 2>/dev/null | tr a-z A-Z | sed 's/&/\&amp;/g; s/</\&lt;/g') BATTERY $(cat /sys/class/power_supply/BAT0/capacity)%</span>"
97 color = $grey
98 font_size = 10
99 font_family = $mono
100 position = -40, 30
101 halign = right
102 valign = bottom
103}