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:
@@ -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 {}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user