Configuring/Dwindle Layout: Improvements, punctuation, clearer wording#1191
Configuring/Dwindle Layout: Improvements, punctuation, clearer wording#1191Bugg4 wants to merge 6 commits intohyprwm:mainfrom
Conversation
- Turn `Quirks` into a `Preface` - Improve formatting for table content - mouse --> cursor
|
the rest are community-written and I don't use them. Might be worth looking into the code |
|
|
@Bugg4 while I am no longer sure why it was and still is an int in code, the use case is definitely just a boolean flag. |
Thank you! Yea, taking a quick look at config.cpp from Hyprlang, it seems that internally "true", "yes" and "on" are interpreted as |
|
@Bugg4 For example, if these are my dwindle settings: dwindle {
default_split_ratio = 1.25
split_bias = 0 # positional
}The opening window will be the bigger window if it opens above or to the left of the current window, and smaller if it opens below or to the right of the current window. |
Ah gotcha, that's the piece I was missing: top/left takes precedence over bottom/right. Thanks for the clarification 👌🏻 |
To be consistent with the new Preface section.
|
This got me thinking about the The reason we don't need a third option is because we can simply invert the ratio to give the bias to the opposite window or the opposite directions. |
Incorporate changes from hyprwm#1202 to avoid merge conflicts
Quirksinto aPrefacesectionA couple of clarifying questions:
single_window_aspect_ratio_tolerancehas a type of int, but a default value of0.1and a hint for0 - 1range? Should it be a float?permanent_direction_override: did I understand correctly? The possible values are eithertrue,false,left,right,top,bottomor any other non-direction string?split biasI'm not sure I get howpositionalbehaves