layout: add auto_group to control default grouping (#7883)
This commit is contained in:
parent
5c6c300abf
commit
e2426942e5
7 changed files with 68 additions and 56 deletions
|
|
@ -772,6 +772,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
|||
.type = CONFIG_OPTION_GRADIENT,
|
||||
.data = SConfigOptionDescription::SGradientData{"0x66775500"},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "group:auto_group",
|
||||
.description = "automatically group new windows",
|
||||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{true},
|
||||
},
|
||||
|
||||
/*
|
||||
* group:groupbar:
|
||||
|
|
|
|||
|
|
@ -377,6 +377,7 @@ CConfigManager::CConfigManager() {
|
|||
m_pConfig->addConfigValue("group:insert_after_current", Hyprlang::INT{1});
|
||||
m_pConfig->addConfigValue("group:focus_removed_window", Hyprlang::INT{1});
|
||||
m_pConfig->addConfigValue("group:merge_groups_on_drag", Hyprlang::INT{1});
|
||||
m_pConfig->addConfigValue("group:auto_group", Hyprlang::INT{1});
|
||||
m_pConfig->addConfigValue("group:groupbar:enabled", Hyprlang::INT{1});
|
||||
m_pConfig->addConfigValue("group:groupbar:font_family", {STRVAL_EMPTY});
|
||||
m_pConfig->addConfigValue("group:groupbar:font_size", Hyprlang::INT{8});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue