1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-02 03:28:28 -04:00

display config: fix monitor names overflowing, add identity overlay to

ease configuration
fixes #1398
This commit is contained in:
bbedward
2026-07-03 15:45:58 -04:00
parent 930a36bcfc
commit 5008406be8
3 changed files with 96 additions and 0 deletions
@@ -632,4 +632,17 @@ Item {
onConfirmed: DisplayConfigState.confirmChanges(root.selectedProfileId)
onReverted: DisplayConfigState.revertChanges()
}
readonly property bool identifyConfigured: {
if (!DisplayConfigState.hasOutputBackend || DisplayConfigState.readOnly)
return false;
if (!["niri", "hyprland", "mango"].includes(CompositorService.compositor))
return true;
return DisplayConfigState.includeStatus.included;
}
Loader {
active: root.visible && root.identifyConfigured
sourceComponent: MonitorIdentifyOverlay {}
}
}