Implement more headers and add group section (#22)

* add more headers to sections

* add groups section
This commit is contained in:
nyx
2024-10-14 01:02:32 -04:00
committed by GitHub
parent 0342b4d183
commit c394283ce4

View File

@@ -145,6 +145,7 @@ impl ConfigGUI {
"gestures",
"misc",
"binds",
"group",
"layouts",
] {
let widget = ConfigWidget::new(category);
@@ -480,6 +481,12 @@ impl ConfigWidget {
"a path to a custom shader to be applied at the end of rendering. See examples/screenShader.frag for an example.",
);
Self::add_section(
&container,
"Blur",
"Configure blur settings.",
first_section.clone(),
);
Self::add_bool_option(
&container,
&mut options,
@@ -1092,7 +1099,14 @@ impl ConfigWidget {
"if enabled, swiping will use the r prefix instead of the m prefix for finding workspaces.",
);
}
"Group" => {
"group" => {
Self::add_section(
&container,
"Group Settings",
"Configure group behavior.",
first_section.clone(),
);
Self::add_bool_option(
&container,
&mut options,
@@ -1163,7 +1177,12 @@ impl ConfigWidget {
"Locked Inactive Border Color",
"inactive locked group border color",
);
Self::add_section(
&container,
"Groupbar Settings",
"Configure groupbar behavior.",
first_section.clone(),
);
Self::add_bool_option(
&container,
&mut options,