diff options
| author | Viktor <vlofgren@gmail.com> | 2025-06-10 09:20:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-10 08:20:31 +0100 |
| commit | 6bdb1f413e4c592f73d91bef33dfb202503ef7ab (patch) | |
| tree | 2ab47ef05a2c084188d618119aa72dda5c1bb782 /src/config/ConfigManager.cpp | |
| parent | 81468253eac574ed4410075eb991a338fff423df (diff) | |
dwindle: add the ability to specify an aspect ratio for a singular window (#10650)
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 8dc06d77..6759771c 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -595,6 +595,8 @@ CConfigManager::CConfigManager() { registerConfigVar("dwindle:smart_split", Hyprlang::INT{0}); registerConfigVar("dwindle:smart_resizing", Hyprlang::INT{1}); registerConfigVar("dwindle:precise_mouse_move", Hyprlang::INT{0}); + registerConfigVar("dwindle:single_window_aspect_ratio", Hyprlang::VEC2{0, 0}); + registerConfigVar("dwindle:single_window_aspect_ratio_tolerance", {0.1f}); registerConfigVar("master:special_scale_factor", {1.f}); registerConfigVar("master:mfact", {0.55f}); |
