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

fix(wallpaper): external management toggle & partial monitor DPMS recovery

Fixes #2579, #2581
This commit is contained in:
purian23
2026-06-05 19:36:23 -04:00
parent e50ac208e3
commit 4d0aab773b
2 changed files with 21 additions and 2 deletions
+3
View File
@@ -2241,6 +2241,9 @@ Singleton {
function getFilteredScreens(componentId) {
var prefs = screenPreferences && screenPreferences[componentId] || ["all"];
if (componentId === "wallpaper" && Array.isArray(prefs) && prefs.length === 0) {
return [];
}
if (!prefs || prefs.length === 0 || prefs.includes("all") || (typeof prefs[0] === "string" && prefs[0] === "all")) {
return Quickshell.screens;
}