grpupbar: Add config options to color inactive and locked groupbar titles (#10667)
This commit is contained in:
parent
aba2cfe7a8
commit
0ece4af36a
5 changed files with 50 additions and 11 deletions
|
|
@ -1015,10 +1015,28 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
|||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:text_color",
|
||||
.description = "controls the group bar text color",
|
||||
.description = "color for window titles in the groupbar",
|
||||
.type = CONFIG_OPTION_COLOR,
|
||||
.data = SConfigOptionDescription::SColorData{0xffffffff},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:text_color_inactive",
|
||||
.description = "color for inactive windows' titles in the groupbar (if unset, defaults to text_color)",
|
||||
.type = CONFIG_OPTION_COLOR,
|
||||
.data = SConfigOptionDescription::SColorData{}, //TODO: UNSET?
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:text_color_locked_active",
|
||||
.description = "color for the active window's title in a locked group (if unset, defaults to text_color)",
|
||||
.type = CONFIG_OPTION_COLOR,
|
||||
.data = SConfigOptionDescription::SColorData{}, //TODO: UNSET?
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:text_color_locked_inactive",
|
||||
.description = "color for inactive windows' titles in locked groups (if unset, defaults to text_color_inactive)",
|
||||
.type = CONFIG_OPTION_COLOR,
|
||||
.data = SConfigOptionDescription::SColorData{}, //TODO: UNSET?
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:groupbar:col.active",
|
||||
.description = "active group border color",
|
||||
|
|
|
|||
|
|
@ -520,6 +520,9 @@ CConfigManager::CConfigManager() {
|
|||
registerConfigVar("group:groupbar:render_titles", Hyprlang::INT{1});
|
||||
registerConfigVar("group:groupbar:scrolling", Hyprlang::INT{1});
|
||||
registerConfigVar("group:groupbar:text_color", Hyprlang::INT{0xffffffff});
|
||||
registerConfigVar("group:groupbar:text_color_inactive", Hyprlang::INT{-1});
|
||||
registerConfigVar("group:groupbar:text_color_locked_active", Hyprlang::INT{-1});
|
||||
registerConfigVar("group:groupbar:text_color_locked_inactive", Hyprlang::INT{-1});
|
||||
registerConfigVar("group:groupbar:stacked", Hyprlang::INT{0});
|
||||
registerConfigVar("group:groupbar:rounding", Hyprlang::INT{1});
|
||||
registerConfigVar("group:groupbar:gradient_rounding", Hyprlang::INT{2});
|
||||
|
|
@ -575,7 +578,7 @@ CConfigManager::CConfigManager() {
|
|||
registerConfigVar("decoration:shadow:scale", {1.f});
|
||||
registerConfigVar("decoration:shadow:sharp", Hyprlang::INT{0});
|
||||
registerConfigVar("decoration:shadow:color", Hyprlang::INT{0xee1a1a1a});
|
||||
registerConfigVar("decoration:shadow:color_inactive", {(Hyprlang::INT)INT64_MAX});
|
||||
registerConfigVar("decoration:shadow:color_inactive", Hyprlang::INT{-1});
|
||||
registerConfigVar("decoration:dim_inactive", Hyprlang::INT{0});
|
||||
registerConfigVar("decoration:dim_strength", {0.5f});
|
||||
registerConfigVar("decoration:dim_special", {0.2f});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue