shift-shell/components/quicksettingsplugin
Devin Lin 839d5e2bff panels: Add support for defining device specific panel tweaks
This adds support for specifying options needed to deal with phone
display panel pecularities (ex. screen curves, notches, punch holes)

This is implemented as settings in ~/.config/plasmamobilerc, which can
set panel heights, paddings, and center spacings to duck display
cutouts. The pixel values are scaling independent, and so are not
affected when the display scaling is changed.

This is then exposed over DBus, so that components from outside of
plasmashell (ex. KWin) can access it easily without needing to connect to
kscreen themselves. Each screen is exposed as a single object.

Currently support is only added in the status bar and the navigation
panel.

Currently all screens have the settings applied. In the future, we may
want to limit this just to the internal screen (?)

---

This also adds a "devices" folder (in `devices/configs`) where per-device configs can be set.

This is installed to `/usr/share/plasma-mobile-device-configs`.
In `plasmamobilerc` (installed to `/etc/xdg/plasmamobilerc`, or
`~/.config/plasmamobilerc`), envmanager will read:

```toml
[Device]
device=oneplus-enchilada
```

for the device config to use and write its settings to
`~/.config/plasma-mobile/plasmamobilerc`.
2025-11-04 23:08:18 -05:00
..
CMakeLists.txt Drop unused link libraries 2024-10-31 08:41:01 +00:00
paginatemodel.cpp paginatemodel: Avoid to disconnect if model is the same because it's not reconnected after 2025-06-16 15:04:32 -04:00
paginatemodel.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
quicksetting.cpp quicksettings: Extract out from mobileshell into separate plugin 2023-03-16 19:44:36 -07:00
quicksetting.h quicksetting: add api docs 2025-08-18 10:59:49 +02:00
quicksettingsconfig.cpp panels: Add support for defining device specific panel tweaks 2025-11-04 23:08:18 -05:00
quicksettingsconfig.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
quicksettingsmodel.cpp quicksettings: fix dynamic removal 2025-08-18 10:59:49 +02:00
quicksettingsmodel.h Use synchrone component loading instead of asynchrone to avoid concurrent bug 2025-06-15 00:59:09 +02:00
savedquicksettings.cpp Do not store KPluginMetaData as pointer 2023-10-17 05:14:04 +00:00
savedquicksettings.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00
savedquicksettingsmodel.cpp Drop semicolon after Q_UNUSED() for consistency through the repo 2024-09-28 06:31:00 +00:00
savedquicksettingsmodel.h Port mobileshell plugins to ecm_add_qml_module 2023-11-02 11:08:17 +00:00