1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-05 05:12:05 -04:00

Feature/control center widget fix (#912)

* Add a widget to display the power menu

* Update power button widget

* Upate based on new settings

* Rollback to DisplaysTab.qml
This commit is contained in:
Pi Home Server
2025-12-06 02:29:39 +01:00
committed by GitHub
parent 2ddc448150
commit 4d39169eb8
5 changed files with 89 additions and 35 deletions

View File

@@ -905,4 +905,4 @@ Item {
}
}
}
}
}

View File

@@ -239,7 +239,14 @@ Item {
"description": I18n.tr("Check for system updates"),
"icon": "update",
"enabled": SystemUpdateService.distributionSupported
}
},
{
"id": "powerMenuButton",
"text": I18n.tr("Power"),
"description": I18n.tr("Display the power system menu"),
"icon": "power_settings_new",
"enabled": true
},
];
var allPluginVariants = PluginService.getAllPluginVariants();