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

feat: lockscreen screen filter (#2740)

this makes use of the existing getFilteredScreens function to allow
users to specify which displays the lockscreen should appear on. prior
to this change, it was "all" or just one.
This commit is contained in:
Scott McKendry
2026-07-05 03:04:59 +12:00
committed by GitHub
parent 52ed719489
commit 7b1c542585
6 changed files with 26 additions and 68 deletions
@@ -80,7 +80,7 @@ Item {
width: parent.width
text: SettingsData.getScreenDisplayName(modelData)
description: modelData.width + "×" + modelData.height
description: modelData.width + "×" + modelData.height + " • " + (SettingsData.displayNameMode === "system" ? (modelData.model || I18n.tr("Unknown Model")) : modelData.name)
checked: localChecked
onToggled: isChecked => {
var prefs = JSON.parse(JSON.stringify(root.displayPreferences));