shift-shell/components/mobileshell
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
..
components taskpanel/panel: make navbar and statusbar accessible from within fullscreen windows 2024-11-25 17:30:47 +00:00
masklayer Folio/Halcyon: Expand Background Blur Effect using a MaskLayer 2025-06-27 14:27:30 -04:00
notifications Port to KStandardActions 2024-10-31 08:41:01 +00:00
qml panels: Add support for defining device specific panel tweaks 2025-11-04 23:08:18 -05:00
CMakeLists.txt volumeosd: Refactor and simplify logic 2025-09-14 14:06:46 -04:00
Messages.sh Ensure all packages have translations enabled 2022-12-19 12:39:51 -05:00
shellutil.cpp panels: Add support for defining device specific panel tweaks 2025-11-04 23:08:18 -05:00
shellutil.h taskpanel/panel: make navbar and statusbar accessible from within fullscreen windows 2024-11-25 17:30:47 +00:00