mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-16 12:32:37 +00:00
Implement the quick-terminal-screen config option on Linux/Wayland so users can pin the quick terminal to a specific monitor instead of always following the mouse cursor. Use the kde_output_order_v1 protocol to identify the compositor's primary monitor by connector name (e.g. "DP-1"). When the protocol is unavailable, fall back to the first monitor in the GDK list. - Add resolveQuickTerminalMonitor() to map config values to a gdk.Monitor: .mouse returns null (compositor decides), .main and .macos-menu-bar match by connector name via the protocol - Call layer_shell.setMonitor() in both initQuickTerminal and syncQuickTerminal so config reloads take effect - Update enteredMonitor to size the window using the configured monitor rather than whichever monitor was entered - Update config documentation to reflect Linux support Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>