hypr-chrome v0.1

This commit is contained in:
2026-07-28 21:22:13 +02:00
commit a28a899874
18 changed files with 1227 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#pragma once
#include "Common.hpp"
struct ChromeConfig {
SP<BoolValue> enabled;
// How far the border extends past each window edge, in logical pixels.
SP<IntValue> extent;
// When true, the border tracks Hyprland's own resolved
// general:col.active_border/col.inactive_border instead of activeColor/
// inactiveColor below.
SP<BoolValue> followHyprlandBorderColor;
SP<ColorValue> activeColor;
SP<ColorValue> inactiveColor;
// Height of the title bar hanging off the floating top-border cutout, in
// logical pixels.
SP<IntValue> titlebarHeight;
// Font size of the title bar's text, in logical pixels.
SP<IntValue> titlebarTextSize;
// Font family of the title bar's text (passed to cairo_select_font_face).
SP<StringValue> titlebarFont;
};