Implement single_window_ratio
This is a new config option that allows the user to set the width ratio when only a single window is tiled and visible. The main idea is that, on ultrawides, a single window taking the full width could be ugly. With this new config, you can make the window take a smaller width. I also renamed consts to snake_case instead of SCREAMING_CASE and fixed a bug where the default primary_count and primary_ratio weren't updated on config reload.
This commit is contained in:
parent
07794019dc
commit
b921751100
6 changed files with 74 additions and 10 deletions
|
|
@ -45,6 +45,7 @@ wallpaper_image_path "~/Pictures/wallpaper.png"
|
|||
| `attach_mode` | enum | `top` | Where new windows go in the stack (`top` or `bottom`) |
|
||||
| `primary_count` | u8 | `1` | Number of windows in the primary stack (0+) |
|
||||
| `primary_ratio` | float | `0.55` | Proportion of output width for the primary stack (0.10-0.90) |
|
||||
| `single_window_ratio` | float | `1.00` | Proportion of output width taken when a single tiled window is visible (0.10-1.00) |
|
||||
| `focus_follows_pointer` | bool | `#true` | Focus follows the pointer between windows |
|
||||
| `pointer_warp_on_focus_change` | bool | `#true` | Warp pointer to center of newly-focused windows |
|
||||
| `wallpaper_image_path` | string | none | Path to wallpaper image |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue