Skip to content

feat: add general.auto_set_tiling_direction config option#1379

Draft
dluo-sig wants to merge 3 commits into
glzr-io:mainfrom
dluo-sig:add-option-for-auto-tiling
Draft

feat: add general.auto_set_tiling_direction config option#1379
dluo-sig wants to merge 3 commits into
glzr-io:mainfrom
dluo-sig:add-option-for-auto-tiling

Conversation

@dluo-sig

@dluo-sig dluo-sig commented Apr 29, 2026

Copy link
Copy Markdown

Adds an auto_set_tiling_direction boolean option to the general config section. When enabled, the tiling direction is automatically set based on the focused window's aspect ratio — wider windows set horizontal, taller windows set vertical.

Example config:

general:
  auto_set_tiling_direction: true

Defaults to false to preserve existing behavior.

@github-project-automation github-project-automation Bot moved this to 📬 Needs triage in glazewm Apr 29, 2026
@dluo-sig
dluo-sig marked this pull request as draft April 29, 2026 17:36
KhangHLe added a commit to KhangHLe/glazewm that referenced this pull request Jul 12, 2026
Cherry-picked from upstream draft PR glzr-io#1379 by dluo-sig, adapted to
this fork (WindowDto gained transparency_pin; test mocks updated).

When enabled, the tiling direction is automatically set from the
focused window's aspect ratio - wider sets horizontal, taller sets
vertical - replacing external autotiling processes (GlazeTiler,
GAT-GWM). set_tiling_direction already no-ops when the direction
matches, so per-focus-change invocation is cheap.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📬 Needs triage

Development

Successfully merging this pull request may close these issues.

1 participant