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