Notch support
I've been using Phosh on my OnePlus 6 for quite a few months now, the experience with postmarketOS is pretty fantastic. However there's a slight issue affecting more and more mainlined devices (and devices running OS's like Droidian), where the clock is entirely obscured by the notch!
It would be awesome to support configurable alternative layouts for devices with cutouts, for example moving the clock to the left (like shown here: https://twitter.com/awoooss/status/1381006806374289411).
In addition to cutouts like notches, many devices have rounded corners which can partially obscure some UI elements which would be good to address here too. Setting the height of the status bar to match the height of the notch can be a really nice way to integrate well with notched devices.
A few proposals:
- Support a layout configuration of some kind, to set the location of cutouts and size of rounded corners. This should be distro agnostic (/etc/machine-info?) This seems like the "right" path to making this a proper standard that can be adopted by the community. I think it's exxtremely important that if this kind of route is taken it should be completely distro agnostic.
- Allow adjusting the status bar icons in phosh, e.g. shove all the icons to the right and the clock to the left like in the above tweet. This is most likely the easiest solution, we can simply ship an override config with notched devices to set the default to something suitable.