Skip to content

Add Center variant to TilingZone enum#130

Closed
leonbreukelman wants to merge 2 commits intopop-os:masterfrom
leonbreukelman:feature/center-tiling-zone
Closed

Add Center variant to TilingZone enum#130
leonbreukelman wants to merge 2 commits intopop-os:masterfrom
leonbreukelman:feature/center-tiling-zone

Conversation

@leonbreukelman
Copy link

Summary

  • Adds Center to the TilingZone enum for snapping floating windows to a horizontally centered, full-height column (50% screen width)
  • Especially useful on ultrawide monitors (e.g. 5120x1440) where left/right halves are too wide for focused work

Dependencies

Example keybinding

(modifiers: [Super, Ctrl], key: "c"): TileWindow(Center),

jlaustill and others added 2 commits January 20, 2026 15:27
Add TilingZone enum with 8 zones (Top, TopRight, Right, BottomRight,
Bottom, BottomLeft, Left, TopLeft) and TileWindow(TilingZone) action
variant to enable keyboard shortcuts for snapping floating windows
to screen edges and corners.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Adds a Center tiling zone for snapping floating windows to a
horizontally centered, full-height column (50% width). Particularly
useful on ultrawide monitors where left/right halves are too wide
for focused work.

Extends the TileWindow(TilingZone) action from #124.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

This comment was marked as spam.

@mmstick
Copy link
Member

mmstick commented Feb 24, 2026

The pull request template is not optional. You must check each item on the list before creating a pull request.

@leonbreukelman
Copy link
Author

Build verified locally with cargo check on Rust 1.90.0 — compiles clean (only pre-existing warnings from #124).

@leonbreukelman
Copy link
Author

Build and runtime verified. Tested in nested compositor (COSMIC_BACKEND=winit) — Center zone snaps correctly to a horizontally centered, full-height column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants