#pragma once #include "Common.hpp" struct ChromeConfig { SP enabled; // How far the border extends past each window edge, in logical pixels. SP extent; // When true, the border tracks Hyprland's own resolved // general:col.active_border/col.inactive_border instead of activeColor/ // inactiveColor below. SP followHyprlandBorderColor; // Gradients (multiple stops + an optional angle), same syntax as // Hyprland's general:col.active_border/col.inactive_border. SP activeColor; SP inactiveColor; // How far the border's glow bleeds inward past the window edge, over the // window's own pixels, in logical pixels. 0 disables the glow entirely. SP glowSize; // Peak opacity of that glow, at the window edge, as a fraction of the // border color's own alpha. SP glowStrength; // Thickness of the solid outline tracing the frame's edges, in logical // pixels. 0 disables it entirely. SP outlineSize; // Color of that outline - a flat color rather than a gradient, so it reads // as a drawn line against the gradient-filled frame it sits on. SP outlineColor; // How far the frame's drop shadow reaches past its own outline, in logical // pixels. 0 disables the shadow entirely. SP shadowSize; // Color the shadow is tinted with - its alpha is the shadow's opacity at // full coverage. SP shadowColor; // How far the shadow is displaced from the frame, in logical pixels; // positive is right/down. SP shadowOffset; // Height of the title bar hanging off the floating top-border cutout, in // logical pixels. SP titlebarHeight; // Font size of the title bar's text, in logical pixels. SP titlebarTextSize; // Font family of the title bar's text (passed to cairo_select_font_face). SP titlebarFont; };