PapirusDevelopmentTeam / arc-kde

Arc KDE customization
https://git.io/arc-kde
GNU General Public License v3.0
900 stars 54 forks source link

Plasma 6 support #145

Open principis opened 3 months ago

principis commented 3 months ago

As of Plasma 6 all themes are now handled as kpackage, which means that a manifest.json file is required.

This PR ports the metadata.desktop files to metadata.json. This supports both Plasma 5 and Plasma 6.

FYI: this PR is backported in Fedora 40.

principis commented 3 months ago

The switch.svg widget is broken in Plasma 6, and I don't know how to fix it, so I removed it. It falls back to the default widget which looks fine.

ItachiSan commented 3 months ago

There are a few more metadata.desktop files, do they not need conversion too? Was just experimenting converting them locally with desktoptojson

principis commented 3 months ago

I don't think so, at least not for plasma theming. Please point me to the relevant documentation (if it exists...), and I'll be happy to migrate them.

A plain .desktop to .json is not recommended, as there are the packaging format changes, not just the file format.

principis commented 3 weeks ago

Converted the wallpapers as well. Otherwise they wouldn't show up in the wallpaper view.

I believe @ItachiSan was right, and everything needs to be converted. There are still a few .desktop files left, but I haven't encountered them yet. If anyone knows where the issue occurs, please let me know where so that I can port and test it!