From d10f2cc00c1091f63e335df1d6913c7abddf06e5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 10 Nov 2026 10:06:05 +0100 Subject: monitors: leave virtual outputs such as deck-it's TAB alone deck-it creates a headless TAB output at runtime and places it itself, centred under DP-1. Listed on the Monitors page, Apply would reposition it and Keep would pin it into monitors.lua, where it would outlive the tablet. Mon.js's UNMANAGED drops it from the page entirely. The list is fixed: deck-it's display.name can rename the output, and a renamed one shows up here again (a ponytail ceiling, noted in Mon.js). Co-Authored-By: Claude Opus 5.5 --- desktop/modules/monitors/MonitorsModule.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'desktop/modules/monitors/MonitorsModule.qml') diff --git a/desktop/modules/monitors/MonitorsModule.qml b/desktop/modules/monitors/MonitorsModule.qml index 3fdef48..b35f4e7 100644 --- a/desktop/modules/monitors/MonitorsModule.qml +++ b/desktop/modules/monitors/MonitorsModule.qml @@ -63,8 +63,9 @@ Module { onStreamFinished: { let list; try { list = JSON.parse(this.text); } catch (e) { mm.error = "Cannot read hyprctl monitors."; return; } - mm.orig = list.map(M.draft); - mm.draft = list.map(M.draft); + const mine = M.managed(list); + mm.orig = mine.map(M.draft); + mm.draft = mine.map(M.draft); } } } -- cgit v1.2.3