Comment

Comment by botw44

Got tired of manually reconfiguring my outputs every time I moved my laptop between home and work. Existing tools were either broken, abandoned, or way more complex than needed.

So I wrote two small tools:

sway-displays interactive CLI for configuring outputs:

- Setup wizard that walks you through position, rotation, scale

- Save/load profiles (docked, portable, whatever)

- Calculates positions from relative placement (left-of, above, etc.)

sway-mirror zero-copy screen mirroring:

- DMA-BUF GPU-to-GPU transfer, no CPU copy

- Multiple scaling modes (fit, fill, stretch, center)

- Moves workspaces to source output automatically

Both are small, dependency-light, and designed for the "I just want my screens to work" use case.

Happy to take feedback or PRs.

parent botw44 10 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton