mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
Replace plasmoids with settings app
This commit is contained in:
parent
01ce3c4040
commit
3e5923b783
2 changed files with 41 additions and 3 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue