mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
dwl/mangowc: add layout switcher and viewer widget
This commit is contained in:
@@ -21,6 +21,13 @@ Item {
|
||||
|
||||
property var baseWidgetDefinitions: {
|
||||
var coreWidgets = [{
|
||||
"id": "layout",
|
||||
"text": I18n.tr("Layout"),
|
||||
"description": I18n.tr("Display and switch DWL layouts"),
|
||||
"icon": "view_quilt",
|
||||
"enabled": CompositorService.isDwl && DwlService.dwlAvailable,
|
||||
"warning": !CompositorService.isDwl ? I18n.tr("Requires DWL compositor") : (!DwlService.dwlAvailable ? I18n.tr("DWL service not available") : undefined)
|
||||
}, {
|
||||
"id": "launcherButton",
|
||||
"text": I18n.tr("App Launcher"),
|
||||
"description": I18n.tr("Quick access to application launcher"),
|
||||
|
||||
Reference in New Issue
Block a user