Lyrica only works with Plasma version 6.0 or later.
Because the project uses relative path to run the backend, so desktops installed by Flatpak or Snap and distros that use non-standard home directory like NixOS are not supported.
git clone https://github.com/chiyuki0325/lyrica
cd lyrica
git checkout $(git tag --list "v*" | tail -1)
Debian/Ubuntu:
sudo apt install rustup jq qt6-declarative-dev qt6-websockets-dev qml6-module-qtwebsockets libdbus-1-dev
rustup toolchain install stable
Arch Linux:
sudo pacman -S --needed rustup qt6-declarative qt6-websockets jq
rustup toolchain install stable
Fedora:
sudo dnf install rustup jq qt6-qtdeclarative qt6-qtdeclarative-devel qt6-qtwebsockets qt6-qtwebsockets-devel dbus-devel
rustup toolchain install stable
openSUSE:
sudo zypper install rustup jq qt6-declarative qt6-websockets qt6-websockets-imports dbus-1-devel
rustup toolchain install stable
bash build_plasmoid.sh
kpackagetool6 -i lyrica-plasmoid-<version>-<distro>-<arch>.plasmoid -t Plasma/Applet
kpackagetool6 -u lyrica-plasmoid-<version>-<distro>-<arch>.plasmoid -t Plasma/Applet