1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 15:32:50 -05:00

dwl/mangowc: add layout switcher and viewer widget

This commit is contained in:
bbedward
2025-11-13 12:44:56 -05:00
parent cf75c1aad0
commit 5d2f5557e5
17 changed files with 1291 additions and 229 deletions

View File

@@ -200,7 +200,8 @@ Loader {
"vpn": components.vpnComponent,
"notepadButton": components.notepadButtonComponent,
"colorPicker": components.colorPickerComponent,
"systemUpdate": components.systemUpdateComponent
"systemUpdate": components.systemUpdateComponent,
"layout": components.layoutComponent
}
if (componentMap[widgetId]) {
@@ -220,7 +221,8 @@ Loader {
"memUsage": dgopAvailable,
"cpuTemp": dgopAvailable,
"gpuTemp": dgopAvailable,
"network_speed_monitor": dgopAvailable
"network_speed_monitor": dgopAvailable,
"layout": CompositorService.isDwl && DwlService.dwlAvailable
}
return widgetVisibility[widgetId] ?? true