Krolyxon
Commit b101de2

Branches

Refs →

aurora.confighyprsourceappearance.lua

116 lines · 4.2 KB · Lua

1hl.config({
2 --------------------------------------------------
3 -- General
4 --------------------------------------------------
5 general = {
6 gaps_in = 2,
7 gaps_out = 2,
8 border_size = 2,
9
10 resize_on_border = false,
11 allow_tearing = false,
12
13 layout = "master",
14
15 ["col.active_border"] = {
16 colors = { colors.primary, colors.primary },
17 angle = 45,
18 },
19
20 ["col.inactive_border"] = {
21 colors = { colors.surface_highest, colors.surface_highest },
22 angle = 45,
23 },
24 },
25
26 -- groups: the same colours, the bar in Space Mono like aurora's labels
27 group = {
28 ["col.border_active"] = colors.primary,
29 ["col.border_inactive"] = colors.surface_highest,
30 ["col.border_locked_active"] = colors.primary,
31 ["col.border_locked_inactive"] = colors.outline_variant,
32 groupbar = {
33 font_family = "Space Mono",
34 text_color = colors.on_surface,
35 ["col.active"] = colors.surface_highest,
36 ["col.inactive"] = colors.surface,
37 ["col.locked_active"] = colors.surface_highest,
38 ["col.locked_inactive"] = colors.surface,
39 },
40 },
41
42 --------------------------------------------------
43 -- Decoration
44 --------------------------------------------------
45 decoration = {
46 rounding = 14, -- round corners like aurora's cards (Nothing look)
47
48 blur = {
49 enabled = true,
50 size = 3,
51 passes = 3,
52 new_optimizations = true,
53 vibrancy = 0.1696,
54 ignore_opacity = true,
55 },
56 },
57
58 animations = {
59 enabled = true,
60 },
61
62 --------------------------------------------------
63 -- Dwindle
64 --------------------------------------------------
65 dwindle = {
66 preserve_split = true,
67 },
68
69 --------------------------------------------------
70 -- Master
71 --------------------------------------------------
72 master = {
73 new_status = "master",
74 new_on_top = true,
75 },
76
77 --------------------------------------------------
78 -- Misc
79 --------------------------------------------------
80 misc = {
81 force_default_wallpaper = -1,
82 disable_hyprland_logo = true,
83 disable_splash_rendering = true,
84
85 mouse_move_enables_dpms = true,
86 key_press_enables_dpms = true,
87
88 vrr = 0,
89
90 -- dwm monocle: focusing another window (super+tab) makes it fullscreen instead of exiting fullscreen
91 on_focus_under_fullscreen = 1,
92 },
93})
94
95--------------------------------------------------
96-- Animations (glyph-rice's set, retimed to aurora's motion: speed is in 100ms, aurora's panels take 350ms)
97--------------------------------------------------
98-- aurora's glide (Theme.glide): ease-out-quart without overshoot
99hl.curve("glide", { type = "bezier", points = { { 0.25, 1 }, { 0.5, 1 } } })
100hl.curve("emphasizedAccel", { type = "bezier", points = { { 0.3, 0 }, { 0.8, 0.15 } } })
101
102-- aurora's own layers animate themselves (no_anim in window_rules.lua); these only hit other layers (slurp, ...)
103hl.animation({ leaf = "layersIn", enabled = true, speed = 3, bezier = "glide", style = "slide" })
104hl.animation({ leaf = "layersOut", enabled = true, speed = 2, bezier = "emphasizedAccel", style = "slide" })
105hl.animation({ leaf = "fadeLayers", enabled = true, speed = 2.5, bezier = "glide" })
106
107hl.animation({ leaf = "windowsIn", enabled = true, speed = 3, bezier = "glide" })
108hl.animation({ leaf = "windowsOut", enabled = true, speed = 2, bezier = "emphasizedAccel" })
109hl.animation({ leaf = "windowsMove", enabled = true, speed = 3, bezier = "glide" })
110-- glyph slides vertically (slidevert) for its vertical swipe; ours swipes horizontally (input.lua)
111hl.animation({ leaf = "workspaces", enabled = true, speed = 3.5, bezier = "glide", style = "slide" })
112hl.animation({ leaf = "specialWorkspace", enabled = true, speed = 3, bezier = "glide", style = "slidefadevert 15%" })
113
114hl.animation({ leaf = "fade", enabled = true, speed = 2.5, bezier = "glide" })
115hl.animation({ leaf = "fadeDim", enabled = true, speed = 2.5, bezier = "glide" })
116hl.animation({ leaf = "border", enabled = true, speed = 3, bezier = "glide" })