You are not logged in.

#1 2026-07-31 06:15:50

hinika
Member
Registered: 2026-07-31
Posts: 1

[RELEASE] tileroot - cross-WM tiling layout manager

Built this because I got tired of losing my window layout every reboot, and every existing tool either only supported one WM or couldn't actually reconstruct the tiling tree.

Sway implements i3's IPC wire protocol directly, so exact split-tree save/restore there is solved territory (i3-resurrect already proves it for i3 alone). Hyprland's IPC doesn't expose a real split tree though, so instead of faking it, tileroot documents that honestly: Hyprland gets geometry replay, not exact reconstruction.

What it does:
- Sway/i3: exact split-tree reconstruction via the shared IPC protocol
- Hyprland: geometry replay, documented as best-effort, live-tested against a real running session
- cmdline is stored as an argv array and exec'd via posix_spawn, never a shell -- since sharing session files (dotfiles-style) is the actual point, a shared file with shell metacharacters in it can't become a code-exec vector
- No daemon, single static binary

Repo and demo GIF: https://github.com/Hinikaa/tileroot

On the AUR now: paru -S tileroot (or yay -S tileroot). Built and tested it locally against the tagged release before pushing -- full test suite runs as part of the PKGBUILD's check().

Being upfront: sway backend is written against the public i3-ipc spec but I've only had a live Hyprland session to test against so far. If anyone here runs sway, I'd genuinely appreciate someone trying dump/restore for real and filing an issue if something's off.

Last edited by hinika (2026-07-31 06:31:55)

Offline

Board footer

Powered by FluxBB