mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
groupbar: Add options for setting group bar title font weight (and indicator gap) (#9617)
This commit is contained in:
@@ -897,6 +897,18 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
||||
.type = CONFIG_OPTION_STRING_SHORT,
|
||||
.data = SConfigOptionDescription::SStringData{STRVAL_EMPTY}, //##TODO UNSET?
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:font_weight_active",
|
||||
.description = "weight of the font used to display active groupbar titles",
|
||||
.type = CONFIG_OPTION_STRING_SHORT,
|
||||
.data = SConfigOptionDescription::SStringData{"normal"},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:font_weight_inactive",
|
||||
.description = "weight of the font used to display inactive groupbar titles",
|
||||
.type = CONFIG_OPTION_STRING_SHORT,
|
||||
.data = SConfigOptionDescription::SStringData{"normal"},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:font_size",
|
||||
.description = "font size of groupbar title",
|
||||
@@ -915,6 +927,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
||||
.type = CONFIG_OPTION_INT,
|
||||
.data = SConfigOptionDescription::SRangeData{14, 1, 64},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:indicator_gap",
|
||||
.description = "height of the gap between the groupbar indicator and title",
|
||||
.type = CONFIG_OPTION_INT,
|
||||
.data = SConfigOptionDescription::SRangeData{0, 0, 64},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:indicator_height",
|
||||
.description = "height of the groupbar indicator",
|
||||
|
Reference in New Issue
Block a user