Krolyxon
Commit 45dccf9

Branches

Refs →

aurora.confighyprhyprlock.conf

111 lines · 2.3 KB · nginx

1# hyprlock, styled like aurora (flat, square, accent borders, JetBrains Mono).
2# Colours: matugen's output first as a fallback, then aurora's resolved palette,
3# written by aurora's Theme.qml to ~/.config/aurora/hyprlock-colors.conf.
4source = $HOME/.cache/matugen/hyprlock.conf
5$font = JetBrainsMono Nerd Font
6source = $HOME/.config/aurora/hyprlock-colors.conf
7
8general {
9 hide_cursor = true
10 ignore_empty_input = true
11}
12
13background {
14 monitor =
15 color = $bg
16}
17
18# -- frame --
19shape {
20 monitor =
21 size = 420, 300
22 color = $surface
23 rounding = 0
24 border_size = 1
25 border_color = $line
26 position = 0, 20
27 halign = center
28 valign = center
29}
30
31label {
32 monitor =
33 text = <b>LOCKED</b>
34 color = $accent
35 font_size = 11
36 font_family = $font
37 position = 0, 135
38 halign = center
39 valign = center
40}
41
42# -- time / date --
43label {
44 monitor =
45 text = cmd[update:1000] echo "<b>$(date +%H:%M)</b>"
46 color = $fg
47 font_size = 64
48 font_family = $font
49 position = 0, 70
50 halign = center
51 valign = center
52}
53
54label {
55 monitor =
56 text = cmd[update:60000] date '+%A %d %B' | tr a-z A-Z
57 color = $accent
58 font_size = 12
59 font_family = $font
60 position = 0, 10
61 halign = center
62 valign = center
63}
64
65# -- password --
66input-field {
67 monitor =
68 size = 340, 42
69 rounding = 0
70 outline_thickness = 2
71 outer_color = $accent
72 inner_color = $bg
73 font_color = $fg
74 font_family = $font
75 check_color = $accentDim
76 fail_color = $err
77 capslock_color = $accentDim
78 dots_size = 0.22
79 dots_spacing = 0.4
80 dots_rounding = 0
81 dots_center = true
82 fade_on_empty = false
83 placeholder_text = PASSWORD
84 fail_text = $FAIL ($ATTEMPTS)
85 position = 0, -60
86 halign = center
87 valign = center
88}
89
90# -- status line --
91label {
92 monitor =
93 text = cmd[update:0] echo "$USER@$(cat /etc/hostname)"
94 color = $dim
95 font_size = 11
96 font_family = $font
97 position = 20, 16
98 halign = left
99 valign = bottom
100}
101
102label {
103 monitor =
104 text = cmd[update:5000] echo "$(mpc current 2>/dev/null | sed 's/&/\&amp;/g; s/</\&lt;/g') BAT $(cat /sys/class/power_supply/BAT0/capacity)%"
105 color = $dim
106 font_size = 11
107 font_family = $font
108 position = -20, 16
109 halign = right
110 valign = bottom
111}