Skip to content

tui: add display settings editor (scale/rotation) - #5

Merged
DryadAI merged 1 commit into
mainfrom
feature/tui-display-settings
Aug 18, 2026
Merged

DryadAI merged 1 commit into
mainfrom
feature/tui-display-settings

Conversation

@DryadAI

@DryadAI DryadAI commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Fills a real gap: neither the GUI's drag canvas nor the TUI's arrow-key arrange screen ever exposed scale or transform (rotation) -- only position. Several real profiles need transform (the vertical Dell P2422H in Alissons.conf) or per-desk scale tuning, with no in-app way to set either until now.

Also extends verify_output_state() with want_scale/want_transform -- it previously only checked mode/position, so a caller changing scale/transform had no real confirmation the WM actually applied it vs. just accepting the IPC command.

Confirmed live end-to-end via tmux (real PTY, no human needed): DP-2 scale 1.5->1.2, transform normal->270, applied and verified, matched exactly by real swaymsg state afterward. Reverted to correct state after the test.

change these anywhere in the app

Neither the GUI's drag canvas nor the TUI's arrow-key arrange screen ever
exposed scale or transform (rotation) -- only position. Changing either
required hand-editing a profile JSON or dropping to raw swaymsg. Several
real profiles need transform (the vertical Dell P2422H in Alissons.conf)
or per-desk scale tuning, with no in-app way to set either.

Extended verify_output_state() with want_scale/want_transform first --
it previously only checked mode/position, so a caller changing scale or
transform had no real confirmation the WM actually applied it versus just
accepting the IPC command (the exact class of bug this whole tool exists
to catch, now covered for this new case too).

Confirmed live end-to-end via tmux: DP-2 scale 1.5->1.2, transform
normal->270, applied and verified, matched exactly by real swaymsg state.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SQoWkiW647dBgJ3NJxk4vu
@DryadAI
DryadAI merged commit 6a90e8d into main Aug 18, 2026
3 checks passed
@DryadAI
DryadAI deleted the feature/tui-display-settings branch August 18, 2026 03:22
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.

2 participants