hyprctl/config: fixup config descriptions, fill out missing ones, provide more data

adds current and explicit, better parsing, and fixes missing / invalid ones
This commit is contained in:
Vaxry 2025-02-25 13:49:07 +00:00
parent 73ae9790f9
commit d1ea18b492
5 changed files with 447 additions and 339 deletions

View file

@ -147,9 +147,7 @@ eDecorationLayer CHyprBorderDecoration::getDecorationLayer() {
}
uint64_t CHyprBorderDecoration::getDecorationFlags() {
static auto PPARTOFWINDOW = CConfigValue<Hyprlang::INT>("general:border_part_of_window");
return *PPARTOFWINDOW && !doesntWantBorders() ? DECORATION_PART_OF_MAIN_WINDOW : 0;
return !doesntWantBorders() ? DECORATION_PART_OF_MAIN_WINDOW : 0;
}
std::string CHyprBorderDecoration::getDisplayName() {