Adopt X-KDE-FormFactor in Plasma Mobile application .desktop files
Phosh recently had a feature added that allows for their app drawer to only show applications that are designed for a mobile form factor. LinMOB did a writeup on this: https://linmob.net/phosh-0-12-app-drawer/
Basically, this:
X-KDE-FormFactor=desktop;tablet;handset;
They apparently implemented support for X-KDE-FormFactor
, so I think it could be a good idea for us to adopt as well, as nothing really exists in the .desktop spec otherwise that is comparable (though there are fields that specify exact screen sizes the app is designed for, and whether it is designed with touch in mind).
https://gitlab.gnome.org/World/Phosh/phosh/-/blob/main/src/app-grid.c#L169
https://source.puri.sm/Librem5/phosh/-/merge_requests/639
We can then also implement the same feature in Plasma Mobile.
Edited by Devin Lin