This script undoes the install process that is performed by the install
scripts. It doesn't revert settings back to their defaults, consult the
install guide for details. The install guide also has a written manual
guide on uninstalling AeroThemePlasma, for additional clarity.
This script also acts as a migration script for the future restructuring
of the project, which will make everything installable by only using
CMake, which is what should have been implemented a long time ago.
This will be one of the last few commits before the project is
restructured, introducing AUR packages as an option for installing
ATP.
This is a big update which requires existing users to migrate their
desktop setup (Plasmoids, their configurations, layout changes, etc.) to
a new desktop session.
This commit replaces the modified desktop shell (org.kde.plasma.desktop)
with ATP's shell (io.gitgud.wackyideas.desktop) which requires new
session options. This is similar to how plasma-bigscreen and
plasma-mobile are used - logging into a separate session via the login
manager (SDDM). ATP will provide sessions for both X11 and Wayland.
This, along with now providing a forked panel as well, is a step forward
regarding separating ATP's codebase and KDE's upstream code. Further
goals are to be able to further isolate the ATP session from the regular
KDE session in terms of shared configurations, etc.
For existing users - Rerun install_plasmoids.sh and
install_plasma_components.sh, you can delete the old shell
(shells/org.kde.plasma.desktop) and panel plasmoid
(plasmoids/org.kde.panel). As mentioned previously, panel and desktop
layouts, plasmoids and their configurations will not be migrated to the
newly available sessions, so they need to be set up manually.
Up until now compiling libplasma modifications was rather violent as it
would cause both plasmashell and kwin to crash (the latter is
potentially destructive if running a Wayland session), leaving the user
with a potentially unstable state where plasmashell will start to
crashloop until the entire system reboots.
With this commit, the replacement of patched library files is deferred
until the system restarts, by using a temporary systemd service that
performs the replacement of files before Plasma starts, leading to
no crashes during the install or update process.
When running compile scripts, you can now pass --ninja to enable Ninja.
This argument also works with the following scripts:
- compile.sh
- install_plasmoids.sh
When running compile.sh, you can now pass --wayland to build the KWin
effects for Wayland. By default effects will be built for X11. This
argument also works for install.sh and install_ninja.sh scripts for
KWin effects.