forked from github-starred/hyprgui
Implement more headers and add group section (#22)
* add more headers to sections * add groups section
This commit is contained in:
23
src/gui.rs
23
src/gui.rs
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user