Krolyxon
Commit 129bacc

Branches

Refs →

aurora.confighyprhyprlock.conf

120 lines · 2.5 KB · nginx

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