Commit 3e5923b7 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Replace plasmoids with settings app

parent 01ce3c40
......@@ -65,7 +65,6 @@ PlasmaCore.ColorScope {
applet.fullRepresentationItem.anchors.fill = notificationsParent;
} else {
applet.preferredRepresentation = applet.compactRepresentation
quickSettings.addPlasmoid(applet);
}
}
......
......@@ -99,10 +99,49 @@ Item {
"enabled": false,
"applet": null
});
settingsModel.append({
"text": i18n("Wifi"),
"icon": "network-wireless-signal",
"enabled": false,
"settingsCommand": "plasma-settings -m kcm_mobile_wifi",
"toggleFunction": "",
"delegate": "",
"enabled": false,
"applet": null
});
settingsModel.append({
"text": i18n("Mobile Data"),
"icon": "network-modem",
"enabled": false,
"settingsCommand": "plasma-settings -m kcm_mobile_broadband",
"toggleFunction": "",
"delegate": "",
"enabled": false,
"applet": null
});
settingsModel.append({
"text": i18n("Battery"),
"icon": "battery",
"enabled": false,
"settingsCommand": "plasma-settings -m kcm_mobile_power",
"toggleFunction": "",
"delegate": "",
"enabled": false,
"applet": null
});
settingsModel.append({
"text": i18n("Sound"),
"icon": "audio-speakers-symbolic",
"enabled": false,
"settingsCommand": "plasma-settings -m kcm_pulseaudio",
"toggleFunction": "",
"delegate": "",
"enabled": false,
"applet": null
});
settingsModel.append({
"text": i18n("Flashlight"),
"icon": "package_games_puzzle",
"icon": "flashlight-on",
"enabled": false,
"settingsCommand": "",
"toggleFunction": "toggleTorch",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment