shift-shell/components/mobileshell/qml
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
..
actiondrawer actiondrawer: Use contextually correct colors and dark background at all times 2025-09-18 09:29:53 -04:00
components panels: Add support for defining device specific panel tweaks 2025-11-04 23:08:18 -05:00
dataproviders quicksettings/audio: Fix displayed volume fetching 2025-09-14 15:30:37 -04:00
homescreen wallpaperselector: Fix previews not loading 2025-10-06 07:10:07 -04:00
navigationpanel panels: Add support for defining device specific panel tweaks 2025-11-04 23:08:18 -05:00
popups popups: Use dark background and consistent outlines with action drawer 2025-10-08 23:13:46 -04:00
statusbar panels: Add support for defining device specific panel tweaks 2025-11-04 23:08:18 -05:00
widgets actiondrawer: Use contextually correct colors and dark background at all times 2025-09-18 09:29:53 -04:00