hypr-chrome v0.1
This commit is contained in:
@@ -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;
|
||||
};
|
||||
Reference in New Issue
Block a user